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

/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dzrlock.c45 * A ZRL can be locked only while there are zero references, so ZRL_LOCKED is
48 #define ZRL_LOCKED -1 macro
78 while (n != ZRL_LOCKED) {
99 while (zrl->zr_refcount == ZRL_LOCKED) {
128 (uint32_t *)&zrl->zr_refcount, 0, ZRL_LOCKED);
146 ASSERT3S(zrl->zr_refcount, ==, ZRL_LOCKED);
172 return (zrl->zr_refcount == ZRL_LOCKED);

Completed in 76 milliseconds