Home
last modified time | relevance | path

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

/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dlock.h35 LO_RECURSABLE | LO_SLEEPABLE | LO_UPGRADABLE | \
38 LO_SLEEPABLE | LO_UPGRADABLE | LO_DUPOK | (2 << LO_CLASSSHIFT))
/freebsd-13.1/sys/kern/
H A Dkern_rmlock.c297 liflags |= LO_SLEEPABLE; in rm_init_flags()
324 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_destroy()
335 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_wowned()
404 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
412 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
427 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock_hard()
448 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock()
525 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_runlock()
544 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wlock()
587 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wunlock()
H A Dsubr_witness.c889 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_init()
1317 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1328 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1400 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1495 (lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1559 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && (flags & LOP_NOSLEEP) == 0) in witness_lock()
H A Dkern_sx.c246 flags = LO_SLEEPABLE | LO_UPGRADABLE; in sx_init_flags()
H A Dkern_lock.c440 iflags = LO_SLEEPABLE | LO_UPGRADABLE; in lockinit()
/freebsd-13.1/sys/sys/
H A Dlock.h83 #define LO_SLEEPABLE 0x00100000 /* Lock may be held while sleeping. */ macro