Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzrlock.c52 zrl_init(zrlock_t *zrl) in zrl_init() argument
54 mutex_init(&zrl->zr_mtx, NULL, MUTEX_DEFAULT, NULL); in zrl_init()
55 zrl->zr_refcount = 0; in zrl_init()
56 cv_init(&zrl->zr_cv, NULL, CV_DEFAULT, NULL); in zrl_init()
58 zrl->zr_owner = NULL; in zrl_init()
59 zrl->zr_caller = NULL; in zrl_init()
64 zrl_destroy(zrlock_t *zrl) in zrl_destroy() argument
66 ASSERT0(zrl->zr_refcount); in zrl_destroy()
68 mutex_destroy(&zrl->zr_mtx); in zrl_destroy()
69 zrl->zr_refcount = ZRL_DESTROYED; in zrl_destroy()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_zrlock.h46 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n),
47 TP_ARGS(zrl, owner, n),
57 __entry->refcount = zrl->zr_refcount;
60 __entry->caller = zrl->zr_caller ? zrl->zr_caller : "(null)";
77 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n), \
78 TP_ARGS(zrl, owner, n))