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.c53 zrl_init(zrlock_t *zrl) in zrl_init() argument
55 mutex_init(&zrl->zr_mtx, NULL, MUTEX_DEFAULT, NULL); in zrl_init()
56 zrl->zr_refcount = 0; in zrl_init()
57 cv_init(&zrl->zr_cv, NULL, CV_DEFAULT, NULL); in zrl_init()
59 zrl->zr_owner = NULL; in zrl_init()
60 zrl->zr_caller = NULL; in zrl_init()
65 zrl_destroy(zrlock_t *zrl) in zrl_destroy() argument
67 ASSERT0(zrl->zr_refcount); in zrl_destroy()
69 mutex_destroy(&zrl->zr_mtx); in zrl_destroy()
70 zrl->zr_refcount = ZRL_DESTROYED; in zrl_destroy()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_zrlock.h47 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n),
48 TP_ARGS(zrl, owner, n),
58 __entry->refcount = zrl->zr_refcount;
61 __entry->caller = zrl->zr_caller ? zrl->zr_caller : "(null)";
78 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n), \
79 TP_ARGS(zrl, owner, n))