Home
last modified time | relevance | path

Searched refs:lockflags (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/netinet6/
H A Din6_pcb.c1045 const inp_lookup_t lockflags) in in6_pcblookup_wild_smr() argument
1062 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_wild_smr()
1069 inp_unlock(inp, lockflags); in in6_pcblookup_wild_smr()
1177 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_with_lock() local
1185 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in6_pcblookup_with_lock()
1188 inp_lock(inp, lockflags); in in6_pcblookup_with_lock()
1189 if (in_pcbrele(inp, lockflags)) in in6_pcblookup_with_lock()
1204 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_smr() local
1215 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_smr()
1219 inp_unlock(inp, lockflags); in in6_pcblookup_smr()
[all …]
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c636 int lockflags, fd_fd; in fdesc_readlink() local
644 lockflags = VOP_ISLOCKED(vn); in fdesc_readlink()
671 vn_lock(vn, lockflags | LK_RETRY); in fdesc_readlink()
/freebsd/sys/netinet/
H A Din_pcb.c2304 u_short lport, int fib, const inp_lookup_t lockflags) in in_pcblookup_wild_smr() argument
2321 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_wild_smr()
2327 inp_unlock(inp, lockflags); in in_pcblookup_wild_smr()
2460 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_with_lock() local
2468 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in_pcblookup_with_lock()
2471 inp_lock(inp, lockflags); in in_pcblookup_with_lock()
2472 if (in_pcbrele(inp, lockflags)) in in_pcblookup_with_lock()
2487 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_smr() local
2498 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_smr()
2506 inp_unlock(inp, lockflags); in in_pcblookup_smr()
[all …]
/freebsd/sys/sys/
H A Devent.h351 void knote(struct knlist *list, long hint, int lockflags);
/freebsd/sys/powerpc/ps3/
H A Dps3-hvcall.h90 …t64_t vas_id, uint64_t pteg, uint64_t pte_hi, uint64_t pte_lo, uint64_t lockflags, uint64_t flags,…
/freebsd/sys/kern/
H A Dkern_event.c2563 knote(struct knlist *list, long hint, int lockflags) in knote() argument
2572 KNL_ASSERT_LOCK(list, lockflags & KNF_LISTLOCKED); in knote()
2574 if ((lockflags & KNF_LISTLOCKED) == 0) in knote()
2597 } else if ((lockflags & KNF_NOKQLOCK) != 0) { in knote()
2612 if ((lockflags & KNF_LISTLOCKED) == 0) in knote()
H A Dvfs_bio.c4061 int lockflags; in getblkx() local
4067 lockflags = LK_EXCLUSIVE | LK_INTERLOCK | in getblkx()
4070 lockflags |= (flags & GB_NOWITNESS) != 0 ? LK_NOWITNESS : 0; in getblkx()
4073 error = BUF_TIMELOCK(bp, lockflags, in getblkx()