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

/illumos-gate/usr/src/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 52 milliseconds