Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzrlock.c53 zrl->zr_refcount = 0; in zrl_init()
64 ASSERT0(zrl->zr_refcount); in zrl_destroy()
67 zrl->zr_refcount = ZRL_DESTROYED; in zrl_destroy()
74 uint32_t n = (uint32_t)zrl->zr_refcount; in zrl_add_impl()
78 (uint32_t *)&zrl->zr_refcount, n, n + 1); in zrl_add_impl()
95 while (zrl->zr_refcount == ZRL_LOCKED) { in zrl_add_impl()
98 ASSERT3S(zrl->zr_refcount, >=, 0); in zrl_add_impl()
99 zrl->zr_refcount++; in zrl_add_impl()
118 n = atomic_dec_32_nv((uint32_t *)&zrl->zr_refcount); in zrl_remove()
125 uint32_t n = (uint32_t)zrl->zr_refcount; in zrl_tryenter()
[all …]
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dzrlock.h37 volatile int32_t zr_refcount; member