Searched refs:zrl (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zrlock.c | 43 zrl_init(zrlock_t *zrl) in zrl_init() argument 45 mutex_init(&zrl->zr_mtx, NULL, MUTEX_DEFAULT, NULL); in zrl_init() 46 zrl->zr_refcount = 0; in zrl_init() 47 cv_init(&zrl->zr_cv, NULL, CV_DEFAULT, NULL); in zrl_init() 49 zrl->zr_owner = NULL; in zrl_init() 50 zrl->zr_caller = NULL; in zrl_init() 55 zrl_destroy(zrlock_t *zrl) in zrl_destroy() argument 57 ASSERT0(zrl->zr_refcount); in zrl_destroy() 59 mutex_destroy(&zrl->zr_mtx); in zrl_destroy() 60 zrl->zr_refcount = ZRL_DESTROYED; in zrl_destroy() [all …]
|
| /freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_zrlock.h | 37 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n), 38 TP_ARGS(zrl, owner, n), 48 __entry->refcount = zrl->zr_refcount; 51 __entry->caller = zrl->zr_caller ? zrl->zr_caller : "(null)"; 68 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n), \ 69 TP_ARGS(zrl, owner, n))
|