Home
last modified time | relevance | path

Searched refs:lo_flags (Results 1 – 19 of 19) sorted by relevance

/freebsd-11-stable/sys/kern/
HDkern_rmlock.c319 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_destroy()
330 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in rm_wowned()
378 if ((rm->lock_object.lo_flags & LO_RECURSABLE) != 0) { in _rm_rlock_hard()
399 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
407 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { in _rm_rlock_hard()
422 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock_hard()
443 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_rlock()
520 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_runlock()
539 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wlock()
582 if (rm->lock_object.lo_flags & LO_SLEEPABLE) in _rm_wunlock()
[all …]
HDsubr_witness.c821 KASSERT(lock->lo_flags & LO_WITNESS, in witness_initialize()
843 if ((lock->lo_flags & LO_RECURSABLE) != 0 && in witness_init()
847 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_init()
851 if ((lock->lo_flags & LO_UPGRADABLE) != 0 && in witness_init()
864 (lock->lo_flags & LO_WITNESS) == 0) in witness_init()
890 if ((lock->lo_flags & LO_WITNESS) == 0 || lock->lo_witness == NULL) in witness_destroy()
1214 if (!(lock->lo_flags & LO_DUPOK) && !(flags & LOP_DUPOK) && in witness_checkorder()
1259 KASSERT((lock1->li_lock->lo_flags & LO_WITNESS) == 0, in witness_checkorder()
1268 if ((lock1->li_lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
1276 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && in witness_checkorder()
[all …]
HDsubr_lock.c86 lock->lo_flags = i << LO_CLASSSHIFT; in lock_init()
93 lock->lo_flags |= flags | LO_INITIALIZED; in lock_init()
105 lock->lo_flags &= ~LO_INITIALIZED; in lock_destroy()
570 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE)) in lock_profile_obtain_lock_success()
635 if (lo->lo_flags & LO_NOPROFILE) in lock_profile_release_lock()
HDkern_lock.c128 (((lk)->lock_object.lo_flags & LK_ADAPTIVE) != 0 && \
454 lk->lock_object.lo_flags &= ~LK_NOSHARE; in lockallowshare()
462 lk->lock_object.lo_flags |= LK_NOSHARE; in lockdisableshare()
470 lk->lock_object.lo_flags |= LO_RECURSABLE; in lockallowrecurse()
478 lk->lock_object.lo_flags &= ~LO_RECURSABLE; in lockdisablerecurse()
561 if (__predict_false(lk->lock_object.lo_flags & LK_NOSHARE)) in lockmgr_lock_fast_path()
697 if (lk->lock_object.lo_flags & LK_NOSHARE) { in __lockmgr_args()
946 (lk->lock_object.lo_flags & LO_RECURSABLE) == 0) { in __lockmgr_args()
HDkern_mutex.c306 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || in __mtx_lock_spin_flags()
419 ((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || in _mtx_trylock_flags_int()
521 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || in __mtx_lock_sleep()
784 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) != 0, in thread_lock_validate()
1239 if (m->lock_object.lo_flags & LO_RECURSABLE) in db_show_mtx()
1241 if (m->lock_object.lo_flags & LO_DUPOK) in db_show_mtx()
HDkern_lockstat.c75 if ((lo->lo_flags & LO_NOPROFILE) != 0) in lockstat_nsecs()
HDkern_sx.c366 if (x == tid && (sx->lock_object.lo_flags & LO_RECURSABLE)) { in sx_try_xlock_int()
605 KASSERT((sx->lock_object.lo_flags & LO_RECURSABLE) != 0, in _sx_xlock_hard()
620 adaptive = ((sx->lock_object.lo_flags & SX_NOADAPTIVE) == 0); in _sx_xlock_hard()
973 adaptive = ((sx->lock_object.lo_flags & SX_NOADAPTIVE) == 0); in _sx_slock_hard()
HDkern_lockf.c198 int lo_flags; /* (c) Flags passwd to lf_advlock */ member
513 lo->lo_flags = flags; in lf_advlockasync()
2483 if (lo->lo_flags & F_REMOTE) { in lf_print_owner()
2486 } else if (lo->lo_flags & F_FLOCK) { in lf_print_owner()
HDkern_rwlock.c320 if (v == tid && (rw->lock_object.lo_flags & LO_RECURSABLE)) { in __rw_try_wlock_int()
938 KASSERT(rw->lock_object.lo_flags & LO_RECURSABLE, in __rw_wlock_hard()
HDvfs_subr.c1521 vp->v_vnlock->lock_object.lo_flags |= LK_NOSHARE; in getnewvnode()
/freebsd-11-stable/sys/sys/
HDlock.h95 #define LO_CLASSINDEX(lock) ((((lock)->lo_flags) & LO_CLASSMASK) >> LO_CLASSSHIFT)
164 (((flags) & LOP_QUIET) == 0 && ((lo)->lo_flags & LO_QUIET) == 0)
192 #define lock_initialized(lo) ((lo)->lo_flags & LO_INITIALIZED)
HD_lock.h36 u_int lo_flags; member
HDlock_profile.h58 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested) in lock_profile_obtain_lock_failed()
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
HDmutex.h58 KASSERT(((lock)->lock_object.lo_flags & LO_ALLMASK) != \
HDrwlock.h64 KASSERT(((lock)->lock_object.lo_flags & LO_ALLMASK) != \
/freebsd-11-stable/libexec/rtld-elf/
HDrtld.c88 int lo_flags, int mode, RtldLockState *lockstate);
3357 int lo_flags; in rtld_dlopen() local
3368 lo_flags = RTLD_LO_DLOPEN; in rtld_dlopen()
3370 lo_flags |= RTLD_LO_NODELETE; in rtld_dlopen()
3372 lo_flags |= RTLD_LO_NOLOAD; in rtld_dlopen()
3374 lo_flags |= RTLD_LO_DEEPBIND; in rtld_dlopen()
3376 lo_flags |= RTLD_LO_TRACE | RTLD_LO_IGNSTLS; in rtld_dlopen()
3378 return (dlopen_object(name, fd, obj_main, lo_flags, in rtld_dlopen()
3393 dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags, in dlopen_object() argument
3404 refobj->path, lo_flags, mode); in dlopen_object()
[all …]
/freebsd-11-stable/sys/fs/nfsserver/
HDnfs_nfsdstate.c1050 ldumpp[cnt].ndlck_flags = lop->lo_flags; in nfsrv_dumplocks()
1714 (new_lop->lo_flags & (NFSLCK_READ | NFSLCK_WRITE)), in nfsrv_lockctrl()
1959 !((new_lop->lo_flags >> NFSLCK_LOCKSHIFT) & in nfsrv_lockctrl()
2074 (new_lop->lo_flags & NFSLCK_READ))) && in nfsrv_lockctrl()
2078 (new_lop->lo_flags & NFSLCK_WRITE) && in nfsrv_lockctrl()
2163 (new_lop->lo_flags == NFSLCK_WRITE || in nfsrv_lockctrl()
2164 lop->lo_flags == NFSLCK_WRITE) && in nfsrv_lockctrl()
2214 cfp->cl_flags = lop->lo_flags; in nfsrv_lockctrl()
2262 lock_flags = new_lop->lo_flags; in nfsrv_lockctrl()
3797 if (new_lop->lo_flags & NFSLCK_UNLOCK) in nfsrv_updatelock()
[all …]
HDnfs_nfsdserv.c683 lop->lo_flags = NFSLCK_READ; in nfsrvd_read()
839 lop->lo_flags = NFSLCK_WRITE; in nfsrvd_write()
2296 lop->lo_flags = lflags; in nfsrvd_lock()
2403 lo.lo_flags = NFSLCK_READ; in nfsrvd_lockt()
2408 lo.lo_flags = NFSLCK_WRITE; in nfsrvd_lockt()
2505 lop->lo_flags = NFSLCK_UNLOCK; in nfsrvd_locku()
/freebsd-11-stable/sys/fs/nfs/
HDnfsrvstate.h217 u_int32_t lo_flags; member