Searched refs:FOFFSET_LOCKED (Results 1 – 2 of 2) sorted by relevance
808 if (atomic_cmpset_acq_16(flagsp, 0, FOFFSET_LOCKED)) in foffset_lock()814 if ((state & FOFFSET_LOCKED) == 0) { in foffset_lock()816 FOFFSET_LOCKED)) in foffset_lock()862 MPASS((fp->f_vnread_flags & FOFFSET_LOCKED) != 0); in foffset_unlock()887 while (fp->f_vnread_flags & FOFFSET_LOCKED) { in foffset_lock()892 fp->f_vnread_flags |= FOFFSET_LOCKED; in foffset_lock()915 KASSERT((fp->f_vnread_flags & FOFFSET_LOCKED) != 0, in foffset_unlock()
221 #define FOFFSET_LOCKED 0x1 macro