Home
last modified time | relevance | path

Searched refs:lockp (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dcallb.h36 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ argument
37 (cp)->cc_lockp = lockp; \
44 #define CALLB_CPR_SAFE_END(cp, lockp) { \ argument
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dcallb.h132 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ argument
136 (cp)->cc_lockp = lockp; \
176 #define CALLB_CPR_SAFE_END(cp, lockp) { \ argument
179 cv_wait(&(cp)->cc_stop_cv, lockp); \
/freebsd-13.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcallb.h133 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ argument
137 (cp)->cc_lockp = lockp; \
177 #define CALLB_CPR_SAFE_END(cp, lockp) { \ argument
180 cv_wait(&(cp)->cc_stop_cv, lockp); \
/freebsd-13.1/sys/riscv/riscv/
H A Dpmap.c307 struct rwlock **lockp);
1279 if (lockp != NULL) { in _pmap_alloc_l3()
1324 lockp) == NULL) { in _pmap_alloc_l3()
1700 if (lockp == NULL) { in get_pv_entry()
1842 struct rwlock **lockp) in pmap_try_insert_pv_entry() argument
1866 struct rwlock **lockp) in pmap_pv_demote_l2() argument
1927 struct rwlock **lockp) in pmap_pv_promote_l2() argument
1963 struct rwlock **lockp) in pmap_pv_insert_l2() argument
2467 struct rwlock **lockp) in pmap_demote_l2_locked() argument
2560 struct rwlock **lockp) in pmap_promote_l2() argument
[all …]
/freebsd-13.1/sys/powerpc/aim/
H A Dmmu_radix.c560 struct rwlock **lockp);
577 struct rwlock **lockp);
593 struct rwlock **lockp);
595 struct rwlock **lockp);
1278 struct rwlock **lockp) in pmap_pv_demote_l3e() argument
1633 if (lockp == NULL) { in get_pv_entry()
1667 struct rwlock **lockp) in pmap_pv_promote_l3e() argument
3183 &free, lockp)) in pmap_enter_l3e()
4209 if (lockp != NULL) { in _pmap_allocpte()
4252 lockp) == NULL) { in _pmap_allocpte()
[all …]
/freebsd-13.1/sys/arm64/arm64/
H A Dpmap.c409 struct rwlock **lockp);
1845 if (lockp != NULL) { in _pmap_alloc_l3()
1909 lockp) == NULL) { in _pmap_alloc_l3()
1937 lockp) == NULL) { in _pmap_alloc_l3()
2001 if (lockp != NULL) in pmap_alloc_l2()
2564 if (lockp == NULL) { in get_pv_entry()
3000 rw_wunlock(*lockp); in pmap_remove_l3_range()
3002 *lockp = new_lock; in pmap_remove_l3_range()
3003 rw_wlock(*lockp); in pmap_remove_l3_range()
4320 &free, lockp); in pmap_enter_l2()
[all …]
/freebsd-13.1/sys/amd64/amd64/
H A Dpmap.c1268 struct rwlock **lockp);
1295 struct rwlock **lockp);
1301 struct rwlock **lockp);
4661 struct rwlock **lockp) in pmap_alloc_pde() argument
4685 if (lockp != NULL) in pmap_alloc_pde()
5380 if (lockp == NULL) { in get_pv_entry()
5547 struct rwlock **lockp) in pmap_pv_demote_pde() argument
5616 struct rwlock **lockp) in pmap_pv_promote_pde() argument
5672 struct rwlock **lockp) in pmap_try_insert_pv_entry() argument
5695 struct rwlock **lockp) in pmap_pv_insert_pde() argument
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h671 #define CALLB_CPR_INIT(cp, lockp, func, name) { \
672 (cp)->cc_lockp = lockp; \
679 #define CALLB_CPR_SAFE_END(cp, lockp) { \
/freebsd-13.1/sys/kern/
H A Dsubr_turnstile.c593 turnstile_lock(struct turnstile *ts, struct lock_object **lockp, in turnstile_lock() argument
609 *lockp = lock; in turnstile_lock()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Darc.c986 buf_hash_find(uint64_t spa, const blkptr_t *bp, kmutex_t **lockp) in buf_hash_find() argument
998 *lockp = hash_lock; in buf_hash_find()
1003 *lockp = NULL; in buf_hash_find()
1015 buf_hash_insert(arc_buf_hdr_t *hdr, kmutex_t **lockp) in buf_hash_insert() argument
1026 if (lockp != NULL) { in buf_hash_insert()
1027 *lockp = hash_lock; in buf_hash_insert()
/freebsd-13.1/sys/netpfil/ipfilter/netinet/
H A Dfil.c4117 ipf_lock(caddr_t data, int *lockp) in ipf_lock() argument
4124 err = BCOPYOUT(lockp, data, sizeof(*lockp)); in ipf_lock()
4127 *lockp = arg; in ipf_lock()
/freebsd-13.1/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1969 volatile uintptr_t *lockp = &hash[bucket].dtdh_lock; in dtrace_dynvar() local
1972 while ((lock = *lockp) & 1) in dtrace_dynvar()
1975 if (dtrace_casptr((volatile void *)lockp, in dtrace_dynvar()