Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_debug.c44 zfs_dbgmsg_t *zdm; in zfs_dbgmsg_fini() local
46 while ((zdm = list_remove_head(&zfs_dbgmsgs)) != NULL) { in zfs_dbgmsg_fini()
47 int size = sizeof (zfs_dbgmsg_t) + strlen(zdm->zdm_msg); in zfs_dbgmsg_fini()
48 kmem_free(zdm, size); in zfs_dbgmsg_fini()
70 zfs_dbgmsg_t *zdm; in zfs_dbgmsg() local
80 zdm = kmem_alloc(sizeof (zfs_dbgmsg_t) + size, KM_SLEEP); in zfs_dbgmsg()
81 zdm->zdm_timestamp = gethrestime_sec(); in zfs_dbgmsg()
84 (void) vsnprintf(zdm->zdm_msg, size + 1, fmt, adx); in zfs_dbgmsg()
87 DTRACE_PROBE1(zfs__dbgmsg, char *, zdm->zdm_msg); in zfs_dbgmsg()
90 list_insert_tail(&zfs_dbgmsgs, zdm); in zfs_dbgmsg()
[all …]