Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dvfs_vnops.c771 if (atomic_cmpset_acq_16(flagsp, 0, FOFFSET_LOCKED)) in foffset_lock()
777 if ((state & FOFFSET_LOCKED) == 0) { in foffset_lock()
779 FOFFSET_LOCKED)) in foffset_lock()
825 MPASS((fp->f_vnread_flags & FOFFSET_LOCKED) != 0); in foffset_unlock()
850 while (fp->f_vnread_flags & FOFFSET_LOCKED) { in foffset_lock()
855 fp->f_vnread_flags |= FOFFSET_LOCKED; in foffset_lock()
878 KASSERT((fp->f_vnread_flags & FOFFSET_LOCKED) != 0, in foffset_unlock()
/freebsd/sys/sys/
H A Dfile.h219 #define FOFFSET_LOCKED 0x1 macro