Searched refs:lockflags (Results 1 – 7 of 7) sorted by relevance
| /freebsd/sys/netinet6/ |
| H A D | in6_pcb.c | 1082 const inp_lookup_t lockflags) in in6_pcblookup_wild_smr() argument 1099 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_wild_smr() 1106 inp_unlock(inp, lockflags); in in6_pcblookup_wild_smr() 1225 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_with_lock() local 1232 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in6_pcblookup_with_lock() 1235 inp_lock(inp, lockflags); in in6_pcblookup_with_lock() 1236 if (in_pcbrele(inp, lockflags)) in in6_pcblookup_with_lock() 1250 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in6_pcblookup_smr() local 1261 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in6_pcblookup_smr() 1265 inp_unlock(inp, lockflags); in in6_pcblookup_smr() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | in_pcb.c | 2371 u_short lport, int fib, const inp_lookup_t lockflags) in in_pcblookup_wild_smr() argument 2388 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_wild_smr() 2394 inp_unlock(inp, lockflags); in in_pcblookup_wild_smr() 2542 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_with_lock() local 2550 if (inp != NULL && !inp_trylock(inp, lockflags)) { in in_pcblookup_with_lock() 2553 inp_lock(inp, lockflags); in in_pcblookup_with_lock() 2554 if (in_pcbrele(inp, lockflags)) in in_pcblookup_with_lock() 2568 const inp_lookup_t lockflags = lookupflags & INPLOOKUP_LOCKMASK; in in_pcblookup_smr() local 2579 if (__predict_true(inp_smr_lock(inp, lockflags))) { in in_pcblookup_smr() 2587 inp_unlock(inp, lockflags); in in_pcblookup_smr() [all …]
|
| /freebsd/sys/fs/fdescfs/ |
| H A D | fdesc_vnops.c | 636 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/sys/ |
| H A D | event.h | 353 void knote(struct knlist *list, long hint, int lockflags);
|
| /freebsd/sys/powerpc/ps3/ |
| H A D | ps3-hvcall.h | 90 …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 D | kern_event.c | 2570 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 D | vfs_bio.c | 4061 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()
|