Home
last modified time | relevance | path

Searched refs:LO_SLEEPABLE (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dlock.h36 LO_RECURSABLE | LO_SLEEPABLE | LO_UPGRADABLE | \
39 LO_SLEEPABLE | LO_UPGRADABLE | LO_DUPOK | (2 << LO_CLASSSHIFT))
/freebsd/sys/kern/
H A Dkern_rmlock.c295 liflags |= LO_SLEEPABLE; in rm_init_flags()
322 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_destroy()
333 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_wowned()
402 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
410 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
425 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock_hard()
446 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock()
523 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_runlock()
542 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wlock()
585 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wunlock()
H A Dsubr_witness.c897 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_init()
1560 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1571 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1644 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1773 (lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1835 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && (flags & LOP_NOSLEEP) == 0) in witness_lock()
H A Dkern_sx.c243 flags = LO_SLEEPABLE | LO_UPGRADABLE; in sx_init_flags()
H A Dkern_lock.c436 iflags = LO_SLEEPABLE | LO_UPGRADABLE; in lockinit()
/freebsd/sys/sys/
H A Dlock.h83 #define LO_SLEEPABLE 0x00100000 /* Lock may be held while sleeping. */ macro