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.h35 LO_RECURSABLE | LO_SLEEPABLE | LO_UPGRADABLE | \
38 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.c891 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_init()
1319 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1330 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1402 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1497 (lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1561 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.c445 iflags = LO_SLEEPABLE | LO_UPGRADABLE; in lockinit()
/freebsd/sys/sys/
H A Dlock.h82 #define LO_SLEEPABLE 0x00100000 /* Lock may be held while sleeping. */ macro