Home
last modified time | relevance | path

Searched refs:zdm (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dzfs_debug.c47 zfs_dbgmsg_t *zdm = list_remove_head(&zfs_dbgmsgs); in zfs_dbgmsg_purge() local
48 if (zdm == NULL) in zfs_dbgmsg_purge()
51 uint_t size = zdm->zdm_size; in zfs_dbgmsg_purge()
52 kmem_free(zdm, size); in zfs_dbgmsg_purge()
68 zfs_dbgmsg_t *zdm; in zfs_dbgmsg_fini() local
69 while ((zdm = list_remove_head(&zfs_dbgmsgs))) in zfs_dbgmsg_fini()
70 umem_free(zdm, zdm->zdm_size); in zfs_dbgmsg_fini()
86 zfs_dbgmsg_t *zdm = umem_zalloc(size, KM_SLEEP); in __zfs_dbgmsg() local
87 zdm->zdm_size = size; in __zfs_dbgmsg()
88 zdm->zdm_timestamp = gethrestime_sec(); in __zfs_dbgmsg()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_debug.c67 zfs_dbgmsg_t *zdm = (zfs_dbgmsg_t *)data; in zfs_dbgmsg_data() local
70 (u_longlong_t)zdm->zdm_timestamp, zdm->zdm_msg); in zfs_dbgmsg_data()
78 zfs_dbgmsg_t *zdm = (zfs_dbgmsg_t *)ksp->ks_private; in zfs_dbgmsg_addr() local
84 else if (zdm) in zfs_dbgmsg_addr()
85 ksp->ks_private = list_next(&zfs_dbgmsgs, zdm); in zfs_dbgmsg_addr()
93 zfs_dbgmsg_t *zdm; in zfs_dbgmsg_purge() local
99 zdm = list_remove_head(&zfs_dbgmsgs); in zfs_dbgmsg_purge()
100 if (zdm == NULL) in zfs_dbgmsg_purge()
103 size = zdm->zdm_size; in zfs_dbgmsg_purge()
104 kmem_free(zdm, size); in zfs_dbgmsg_purge()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_debug.c64 zfs_dbgmsg_t *zdm = (zfs_dbgmsg_t *)p; in zfs_dbgmsg_show() local
66 (u_longlong_t)zdm->zdm_timestamp, zdm->zdm_msg); in zfs_dbgmsg_show()
74 zfs_dbgmsg_t *zdm = list_remove_head(&zfs_dbgmsgs.pl_list); in zfs_dbgmsg_purge() local
75 if (zdm == NULL) in zfs_dbgmsg_purge()
78 uint_t size = zdm->zdm_size; in zfs_dbgmsg_purge()
79 kmem_free(zdm, size); in zfs_dbgmsg_purge()
134 zfs_dbgmsg_t *zdm = kmem_zalloc(size, KM_SLEEP); in __zfs_dbgmsg() local
135 zdm->zdm_size = size; in __zfs_dbgmsg()
136 zdm->zdm_timestamp = gethrestime_sec(); in __zfs_dbgmsg()
137 strcpy(zdm->zdm_msg, buf); in __zfs_dbgmsg()
[all …]