#include <linux/module.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
-#include <linux/mm_compat.h>
#include <linux/spinlock.h>
#include <linux/rwsem.h>
#include <linux/hash.h>
#include <linux/proc_compat.h>
#include <linux/math64_compat.h>
#include <linux/zlib_compat.h>
+#include <linux/mm_compat.h>
+#include <linux/delay.h>
#ifndef HAVE_UINTPTR_T
typedef unsigned long uintptr_t;
* Solaris Porting LAyer Tests (SPLAT) Atomic Tests.
\*****************************************************************************/
+#include <sys/atomic.h>
+#include <sys/thread.h>
#include "splat-internal.h"
#define SPLAT_ATOMIC_NAME "atomic"
* Solaris Porting LAyer Tests (SPLAT) Condition Variable Tests.
\*****************************************************************************/
+#include <sys/condvar.h>
#include "splat-internal.h"
#define SPLAT_CONDVAR_NAME "condvar"
* Solaris Porting LAyer Tests (SPLAT) Credential Tests.
\*****************************************************************************/
+#include <sys/cred.h>
#include "splat-internal.h"
#define SPLAT_CRED_NAME "cred"
* of regression tests or particular tests.
\*****************************************************************************/
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/vmalloc.h>
+#include <linux/cdev.h>
+#include <linux/fs.h>
+#include <linux/uaccess.h>
+#include <sys/types.h>
+#include <sys/debug.h>
#include "splat-internal.h"
static spl_class *splat_class;
* Solaris Porting LAyer Tests (SPLAT) Generic Tests.
\*****************************************************************************/
+#include <sys/sunddi.h>
#include "splat-internal.h"
#define SPLAT_GENERIC_NAME "generic"
#ifndef _SPLAT_INTERNAL_H
#define _SPLAT_INTERNAL_H
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/string.h>
-#include <linux/errno.h>
-#include <linux/slab.h>
-#include <linux/sched.h>
-#include <linux/elf.h>
-#include <linux/limits.h>
-#include <linux/version.h>
-#include <linux/vmalloc.h>
-#include <linux/module.h>
-#include <linux/device.h>
-#include <linux/list.h>
-#include <linux/swap.h>
-#include <linux/delay.h>
-
-#include <asm/ioctls.h>
-#include <asm/uaccess.h>
-#include <stdarg.h>
-
-#include <sys/callb.h>
-#include <sys/condvar.h>
-#include <sys/cred.h>
-#include <sys/sysmacros.h>
-#include <sys/kmem.h>
-#include <sys/kstat.h>
-#include <sys/mutex.h>
-#include <sys/random.h>
-#include <sys/rwlock.h>
-#include <sys/taskq.h>
-#include <sys/thread.h>
-#include <sys/time.h>
-#include <sys/timer.h>
-#include <sys/types.h>
-#include <sys/kobj.h>
-#include <sys/atomic.h>
-#include <sys/list.h>
-#include <sys/sunddi.h>
-#include <sys/zmod.h>
-#include <linux/cdev.h>
-
#include "spl-device.h"
#include "spl-debug.h"
#include "splat-ctl.h"
* Solaris Porting LAyer Tests (SPLAT) Kmem Tests.
\*****************************************************************************/
+#include <sys/kmem.h>
+#include <sys/thread.h>
#include "splat-internal.h"
#define SPLAT_KMEM_NAME "kmem"
* Solaris Porting LAyer Tests (SPLAT) Kobj Tests.
\*****************************************************************************/
+#include <sys/kobj.h>
#include "splat-internal.h"
#define SPLAT_KOBJ_NAME "kobj"
* Solaris Porting LAyer Tests (SPLAT) Kernel Compatibility Tests.
\*****************************************************************************/
+#include <sys/kmem.h>
#include "splat-internal.h"
#define SPLAT_LINUX_NAME "linux"
* Solaris Porting LAyer Tests (SPLAT) List Tests.
\*****************************************************************************/
+#include <sys/list.h>
+#include <sys/kmem.h>
#include "splat-internal.h"
#define SPLAT_LIST_NAME "list"
* Solaris Porting LAyer Tests (SPLAT) Mutex Tests.
\*****************************************************************************/
+#include <sys/mutex.h>
+#include <sys/taskq.h>
#include "splat-internal.h"
#define SPLAT_MUTEX_NAME "mutex"
* Solaris Porting LAyer Tests (SPLAT) Random Number Generator Tests.
\*****************************************************************************/
+#include <sys/random.h>
+#include <sys/kmem.h>
#include "splat-internal.h"
#define SPLAT_KRNG_NAME "krng"
* Solaris Porting LAyer Tests (SPLAT) Read/Writer Lock Tests.
\*****************************************************************************/
+#include <sys/rwlock.h>
+#include <sys/taskq.h>
+#include <sys/random.h>
#include "splat-internal.h"
#define SPLAT_RWLOCK_NAME "rwlock"
* Solaris Porting LAyer Tests (SPLAT) Task Queue Tests.
\*****************************************************************************/
+#include <sys/taskq.h>
+#include <sys/kmem.h>
#include "splat-internal.h"
#define SPLAT_TASKQ_NAME "taskq"
* Solaris Porting LAyer Tests (SPLAT) Thread Tests.
\*****************************************************************************/
+#include <sys/thread.h>
+#include <sys/random.h>
#include "splat-internal.h"
#define SPLAT_THREAD_NAME "thread"
* Solaris Porting LAyer Tests (SPLAT) Time Tests.
\*****************************************************************************/
+#include <sys/time.h>
#include "splat-internal.h"
#define SPLAT_TIME_NAME "time"
* Solaris Porting LAyer Tests (SPLAT) Vnode Tests.
\*****************************************************************************/
+#include <sys/vnode.h>
#include "splat-internal.h"
-#include <linux/rcupdate.h>
#define SPLAT_VNODE_NAME "vnode"
#define SPLAT_VNODE_DESC "Kernel Vnode Tests"
* Solaris Porting LAyer Tests (SPLAT) Zlib Compression Tests.
\*****************************************************************************/
+#include <sys/zmod.h>
+#include <sys/random.h>
+#include <sys/kmem.h>
#include "splat-internal.h"
#define SPLAT_ZLIB_NAME "zlib"