Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Din6_pcb.c1080 const inp_lookup_t lockflags) in in6_pcblookup_wild_smr()
1097 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_wild_smr()
1104 inp_unlock(inp, lockflags); in in6_pcblookup_wild_smr()
1223 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_with_lock()
1230 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in6_pcblookup_with_lock()
1233 inp_lock(inp, lockflags); in in6_pcblookup_with_lock()
1234 if (in_pcbrele(inp, lockflags)) in in6_pcblookup_with_lock()
1248 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_smr()
1259 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_smr()
1263 inp_unlock(inp, lockflags); in in6_pcblookup_smr()
1082 in6_pcblookup_wild_smr(struct inpcbinfo * pcbinfo,const struct in6_addr * laddr,u_short lport,int fib,const inp_lookup_t lockflags) in6_pcblookup_wild_smr() argument
1225 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in6_pcblookup_with_lock() local
1250 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in6_pcblookup_smr() local
[all...]
/freebsd/sys/netinet/
H A Din_pcb.c2372 u_short lport, int fib, const inp_lookup_t lockflags) in in_pcblookup_wild_smr() argument
2389 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_wild_smr()
2395 inp_unlock(inp, lockflags); in in_pcblookup_wild_smr()
2543 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_with_lock() local
2551 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in_pcblookup_with_lock()
2554 inp_lock(inp, lockflags); in in_pcblookup_with_lock()
2555 if (in_pcbrele(inp, lockflags)) in in_pcblookup_with_lock()
2569 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_smr() local
2580 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_smr()
2588 inp_unlock(inp, lockflags); in in_pcblookup_smr()
[all …]
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c684 int lockflags, fd_fd; in fdesc_readlink() local
692 lockflags = VOP_ISLOCKED(vn); in fdesc_readlink()
719 vn_lock(vn, lockflags | LK_RETRY); in fdesc_readlink()
/freebsd/sys/sys/
H A Devent.h353 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.c2570 knote(struct knlist *list, long hint, int lockflags) in knote() argument
2579 KNL_ASSERT_LOCK(list, lockflags & KNF_LISTLOCKED); in knote()
2581 if ((lockflags & KNF_LISTLOCKED) == 0) in knote()
2604 } else if ((lockflags & KNF_NOKQLOCK) != 0) { in knote()
2619 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()