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

/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dzrlock.c52 zrl_init(zrlock_t *zrl) argument
54 mutex_init(&zrl->zr_mtx, NULL, MUTEX_DEFAULT, NULL);
55 zrl->zr_refcount = 0;
56 cv_init(&zrl->zr_cv, NULL, CV_DEFAULT, NULL);
58 zrl->zr_owner = NULL;
59 zrl->zr_caller = NULL;
64 zrl_destroy(zrlock_t *zrl) argument
66 ASSERT0(zrl->zr_refcount);
68 mutex_destroy(&zrl->zr_mtx);
69 zrl
74 zrl_add_impl(zrlock_t *zrl, const char *zc) argument
107 zrl_remove(zrlock_t *zrl) argument
122 zrl_tryenter(zrlock_t *zrl) argument
144 zrl_exit(zrlock_t *zrl) argument
160 zrl_is_zero(zrlock_t *zrl) argument
168 zrl_is_locked(zrlock_t *zrl) argument
177 zrl_owner(zrlock_t *zrl) argument
[all...]
/freebsd-13-stable/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)";
65 TP_printk("zrl { refcount %d owner_pid %d caller %s } n %u",
69 TP_printk("zrl { refcount %d } n %u",
77 TP_PROTO(zrlock_t *zrl, kthread_t *owner, uint32_t n), \
78 TP_ARGS(zrl, owner, n))

Completed in 45 milliseconds