/freebsd-current/contrib/lib9p/ |
H A D | fid.h | 44 * flags here in lo_flags. 77 uint32_t lo_flags; /* volatile atomic_t when threaded? */ member in struct:l9p_fid 91 return ((fid->lo_flags & L9P_LO_ISAUTH) != 0); 97 fid->lo_flags |= L9P_LO_ISAUTH; 103 return ((fid->lo_flags & L9P_LO_ISDIR) != 0); 109 fid->lo_flags |= L9P_LO_ISDIR; 115 fid->lo_flags &= ~(uint32_t)L9P_LO_ISDIR; 121 return ((fid->lo_flags & L9P_LO_ISOPEN) != 0); 127 fid->lo_flags |= L9P_LO_ISOPEN; 133 return ((fid->lo_flags [all...] |
/freebsd-current/sys/sys/ |
H A D | _lock.h | 36 u_int lo_flags; member in struct:lock_object
|
H A D | lock_profile.h | 56 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE) || *contested)
|
H A D | lock.h | 96 #define LO_CLASSINDEX(lock) ((((lock)->lo_flags) & LO_CLASSMASK) >> LO_CLASSSHIFT) 134 (((flags) & LOP_QUIET) == 0 && ((lo)->lo_flags & LO_QUIET) == 0) 161 #define lock_initialized(lo) ((lo)->lo_flags & LO_INITIALIZED)
|
/freebsd-current/sys/kern/ |
H A D | kern_lockstat.c | 82 if ((lo->lo_flags & LO_NOPROFILE) != 0)
|
H A D | kern_rmlock.c | 322 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 333 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 381 if ((rm->lock_object.lo_flags & LO_RECURSABLE) != 0) { 402 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { 410 if (rm->lock_object.lo_flags & LO_SLEEPABLE) { 425 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 446 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 523 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 542 if (rm->lock_object.lo_flags & LO_SLEEPABLE) 585 if (rm->lock_object.lo_flags [all...] |
H A D | subr_lock.c | 90 lock->lo_flags = i << LO_CLASSSHIFT; 97 lock->lo_flags |= flags | LO_INITIALIZED; 109 lock->lo_flags &= ~LO_INITIALIZED; 595 if (!lock_prof_enable || (lo->lo_flags & LO_NOPROFILE)) 670 if (lo->lo_flags & LO_NOPROFILE)
|
H A D | subr_witness.c | 867 KASSERT(lock->lo_flags & LO_WITNESS, 887 if ((lock->lo_flags & LO_RECURSABLE) != 0 && 891 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && 895 if ((lock->lo_flags & LO_UPGRADABLE) != 0 && 908 (lock->lo_flags & LO_WITNESS) == 0) 934 if ((lock->lo_flags & LO_WITNESS) == 0 || lock->lo_witness == NULL) 1255 if (!(lock->lo_flags & LO_DUPOK) && !(flags & LOP_DUPOK) && 1302 KASSERT((lock1->li_lock->lo_flags & LO_WITNESS) == 0, 1319 if ((lock->lo_flags & LO_SLEEPABLE) != 0 && 1330 if ((lock->lo_flags [all...] |
H A D | kern_mutex.c | 335 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || 448 ((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || 544 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) != 0 || 815 KASSERT((m->lock_object.lo_flags & LO_RECURSABLE) == 0, 1330 if (m->lock_object.lo_flags & LO_RECURSABLE) 1332 if (m->lock_object.lo_flags & LO_DUPOK)
|
H A D | kern_lock.c | 478 lk->lock_object.lo_flags &= ~LK_NOSHARE; 486 lk->lock_object.lo_flags |= LK_NOSHARE; 494 lk->lock_object.lo_flags |= LO_RECURSABLE; 502 lk->lock_object.lo_flags &= ~LO_RECURSABLE; 803 (lk->lock_object.lo_flags & LO_RECURSABLE) == 0) { 1054 if (__predict_false(lk->lock_object.lo_flags & LK_NOSHARE)) 1236 MPASS((lk->lock_object.lo_flags & LK_NOSHARE) == 0); 1348 if (lk->lock_object.lo_flags & LK_NOSHARE) {
|
H A D | kern_lockf.c | 194 int lo_flags; /* (c) Flags passed to lf_advlock */ member in struct:lock_owner 514 lo->lo_flags = flags; 2599 if (lo->lo_flags & F_REMOTE) { 2602 } else if (lo->lo_flags & F_FLOCK) {
|
H A D | kern_sx.c | 370 if (x == tid && (sx->lock_object.lo_flags & LO_RECURSABLE)) { 625 KASSERT((sx->lock_object.lo_flags & LO_RECURSABLE) != 0,
|
H A D | kern_rwlock.c | 327 if (v == tid && (rw->lock_object.lo_flags & LO_RECURSABLE)) { 956 KASSERT(rw->lock_object.lo_flags & LO_RECURSABLE,
|
H A D | vfs_vnops.c | 4154 if ((vp1->v_vnlock->lock_object.lo_flags & 4174 (vp1->v_vnlock->lock_object.lo_flags & LK_NOSHARE) != 0) 4192 (vp2->v_vnlock->lock_object.lo_flags & LK_NOSHARE) != 0)
|
H A D | vfs_subr.c | 2087 vp->v_vnlock->lock_object.lo_flags |= LK_NOSHARE;
|
/freebsd-current/sys/cddl/compat/opensolaris/sys/ |
H A D | rwlock.h | 62 KASSERT(((lock)->lock_object.lo_flags & LO_ALLMASK) != \
|
/freebsd-current/libexec/rtld-elf/ |
H A D | rtld.c | 100 int lo_flags, int mode, RtldLockState *lockstate); 3730 int lo_flags; local 3741 lo_flags = RTLD_LO_DLOPEN; 3743 lo_flags |= RTLD_LO_NODELETE; 3745 lo_flags |= RTLD_LO_NOLOAD; 3747 lo_flags |= RTLD_LO_DEEPBIND; 3749 lo_flags |= RTLD_LO_TRACE | RTLD_LO_IGNSTLS; 3751 return (dlopen_object(name, fd, obj_main, lo_flags, 3766 dlopen_object(const char *name, int fd, Obj_Entry *refobj, int lo_flags, argument 3774 dbg("dlopen_object name \"%s\" fd %d refobj \"%s\" lo_flags [all...] |
/freebsd-current/sys/fs/nfs/ |
H A D | nfsrvstate.h | 262 u_int32_t lo_flags; member in struct:nfslock
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 1243 ldumpp[cnt].ndlck_flags = lop->lo_flags; 1914 (new_lop->lo_flags & (NFSLCK_READ | NFSLCK_WRITE)), 2159 !((new_lop->lo_flags >> NFSLCK_LOCKSHIFT) & 2274 (new_lop->lo_flags & NFSLCK_READ))) && 2278 (new_lop->lo_flags & NFSLCK_WRITE) && 2363 (new_lop->lo_flags == NFSLCK_WRITE || 2364 lop->lo_flags == NFSLCK_WRITE) && 2414 cfp->cl_flags = lop->lo_flags; 2462 lock_flags = new_lop->lo_flags; 3890 if (new_lop->lo_flags [all...] |
H A D | nfs_nfsdserv.c | 795 lop->lo_flags = NFSLCK_READ; 998 lop->lo_flags = NFSLCK_WRITE; 2506 lop->lo_flags = lflags; 2619 lo.lo_flags = NFSLCK_READ; 2624 lo.lo_flags = NFSLCK_WRITE; 2722 lop->lo_flags = NFSLCK_UNLOCK; 5407 lop->lo_flags = NFSLCK_WRITE; 5506 lop->lo_flags = NFSLCK_WRITE; 5629 inlop->lo_flags = NFSLCK_READ; 5640 outlop->lo_flags [all...] |