equal
deleted
inserted
replaced
57 #include <umem.h> |
57 #include <umem.h> |
58 #include <limits.h> |
58 #include <limits.h> |
59 #include <atomic.h> |
59 #include <atomic.h> |
60 #include <dirent.h> |
60 #include <dirent.h> |
61 #include <time.h> |
61 #include <time.h> |
|
62 #include <libsysevent.h> |
62 #include <sys/note.h> |
63 #include <sys/note.h> |
63 #include <sys/types.h> |
64 #include <sys/types.h> |
64 #include <sys/cred.h> |
65 #include <sys/cred.h> |
65 #include <sys/sysmacros.h> |
66 #include <sys/sysmacros.h> |
66 #include <sys/bitmap.h> |
67 #include <sys/bitmap.h> |
71 #include <sys/zfs_debug.h> |
72 #include <sys/zfs_debug.h> |
72 #include <sys/sdt.h> |
73 #include <sys/sdt.h> |
73 #include <sys/kstat.h> |
74 #include <sys/kstat.h> |
74 #include <sys/u8_textprep.h> |
75 #include <sys/u8_textprep.h> |
75 #include <sys/sysevent/eventdefs.h> |
76 #include <sys/sysevent/eventdefs.h> |
|
77 #include <sys/sysevent/dev.h> |
76 |
78 |
77 /* |
79 /* |
78 * Debugging |
80 * Debugging |
79 */ |
81 */ |
80 |
82 |
539 } ksiddomain_t; |
541 } ksiddomain_t; |
540 |
542 |
541 ksiddomain_t *ksid_lookupdomain(const char *); |
543 ksiddomain_t *ksid_lookupdomain(const char *); |
542 void ksiddomain_rele(ksiddomain_t *); |
544 void ksiddomain_rele(ksiddomain_t *); |
543 |
545 |
|
546 #define DDI_SLEEP KM_SLEEP |
|
547 #define ddi_log_sysevent(_a, _b, _c, _d, _e, _f, _g) \ |
|
548 sysevent_post_event(_c, _d, _b, "libzpool", _e, _f) |
|
549 |
544 #ifdef __cplusplus |
550 #ifdef __cplusplus |
545 } |
551 } |
546 #endif |
552 #endif |
547 |
553 |
548 #endif /* _SYS_ZFS_CONTEXT_H */ |
554 #endif /* _SYS_ZFS_CONTEXT_H */ |