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

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzrlock.c44 * A ZRL can be locked only while there are zero references, so ZRL_LOCKED is
47 #define ZRL_LOCKED -1 macro
77 while (n != ZRL_LOCKED) {
96 while (zrl->zr_refcount == ZRL_LOCKED) {
125 (uint32_t *)&zrl->zr_refcount, 0, ZRL_LOCKED);
143 ASSERT3S(zrl->zr_refcount, ==, ZRL_LOCKED);
178 return (zrl->zr_refcount == ZRL_LOCKED);

Completed in 153 milliseconds