18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 /*
27 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
28 * Copyright (c) 2012 by Delphix. All rights reserved.
29 */
30
31 #ifndef _SYS_ZFS_CONTEXT_H
32 #define _SYS_ZFS_CONTEXT_H
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 #include <sys/note.h>
39 #include <sys/types.h>
40 #include <sys/t_lock.h>
41 #include <sys/atomic.h>
42 #include <sys/sysmacros.h>
43 #include <sys/bitmap.h>
44 #include <sys/cmn_err.h>
45 #include <sys/kmem.h>
46 #include <sys/taskq.h>
47 #include <sys/taskq_impl.h>
48 #include <sys/buf.h>
49 #include <sys/param.h>
50 #include <sys/systm.h>
51 #include <sys/cpuvar.h>
52 #include <sys/kobj.h>
53 #include <sys/conf.h>
54 #include <sys/disp.h>
55 #include <sys/debug.h>
56 #include <sys/random.h>
57 #include <sys/byteorder.h>
|
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 /*
27 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
28 * Copyright (c) 2012 by Delphix. All rights reserved.
29 */
30
31 #ifndef _SYS_ZFS_CONTEXT_H
32 #define _SYS_ZFS_CONTEXT_H
33
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37
38 #ifndef _KERNEL
39 #include <stddef.h>
40 #endif
41 #include <sys/note.h>
42 #include <sys/types.h>
43 #include <sys/t_lock.h>
44 #include <sys/atomic.h>
45 #include <sys/sysmacros.h>
46 #include <sys/bitmap.h>
47 #include <sys/cmn_err.h>
48 #include <sys/kmem.h>
49 #include <sys/taskq.h>
50 #include <sys/taskq_impl.h>
51 #include <sys/buf.h>
52 #include <sys/param.h>
53 #include <sys/systm.h>
54 #include <sys/cpuvar.h>
55 #include <sys/kobj.h>
56 #include <sys/conf.h>
57 #include <sys/disp.h>
58 #include <sys/debug.h>
59 #include <sys/random.h>
60 #include <sys/byteorder.h>
|