/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | callb.h | 36 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ argument 37 (cp)->cc_lockp = lockp; \ 44 #define CALLB_CPR_SAFE_END(cp, lockp) { \ argument
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | callb.h | 132 #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/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | callb.h | 133 #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/sys/riscv/riscv/ |
H A D | pmap.c | 193 #define CHANGE_PV_LIST_LOCK_TO_PHYS(lockp, pa) do { \ argument 194 struct rwlock **_lockp = (lockp); \ 206 #define CHANGE_PV_LIST_LOCK_TO_VM_PAGE(lockp, m) \ argument 207 CHANGE_PV_LIST_LOCK_TO_PHYS(lockp, VM_PAGE_TO_PHYS(m)) 209 #define RELEASE_PV_LIST_LOCK(lockp) do { \ argument 210 struct rwlock **_lockp = (lockp); \ 309 static pv_entry_t get_pv_entry(pmap_t pmap, struct rwlock **lockp); 310 static vm_page_t reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp); 317 vm_offset_t va, struct rwlock **lockp); 319 u_int flags, vm_page_t m, struct rwlock **lockp); [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 567 struct rwlock **lockp); 571 struct spglist *free, struct rwlock **lockp); 573 pml3_entry_t ptepde, struct spglist *free, struct rwlock **lockp); 578 pml3_entry_t *l3e, struct spglist *free, struct rwlock **lockp); 581 u_int flags, struct rwlock **lockp); 584 struct rwlock **lockp); 589 vm_prot_t prot, vm_page_t mpte, struct rwlock **lockp, bool *invalidate); 592 vm_prot_t prot, struct rwlock **lockp); 594 u_int flags, vm_page_t m, struct rwlock **lockp); 596 static vm_page_t reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp); [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 258 #define CHANGE_PV_LIST_LOCK(lockp, new_lock) do { \ argument 259 struct rwlock **_lockp = (lockp); \ 270 #define CHANGE_PV_LIST_LOCK_TO_PHYS(lockp, pa) \ argument 271 CHANGE_PV_LIST_LOCK(lockp, PHYS_TO_PV_LIST_LOCK(pa)) 273 #define CHANGE_PV_LIST_LOCK_TO_VM_PAGE(lockp, m) \ argument 274 CHANGE_PV_LIST_LOCK(lockp, VM_PAGE_TO_PV_LIST_LOCK(m)) 276 #define RELEASE_PV_LIST_LOCK(lockp) do { \ argument 277 struct rwlock **_lockp = (lockp); \ 459 static pv_entry_t get_pv_entry(pmap_t pmap, struct rwlock **lockp); 460 static vm_page_t reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp); [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | pmap.c | 372 #define CHANGE_PV_LIST_LOCK_TO_PHYS(lockp, pa) do { \ argument 373 struct rwlock **_lockp = (lockp); \ 385 #define CHANGE_PV_LIST_LOCK_TO_VM_PAGE(lockp, m) \ argument 386 CHANGE_PV_LIST_LOCK_TO_PHYS(lockp, VM_PAGE_TO_PHYS(m)) 388 #define RELEASE_PV_LIST_LOCK(lockp) do { \ argument 389 struct rwlock **_lockp = (lockp); \ 1268 static pv_entry_t get_pv_entry(pmap_t pmap, struct rwlock **lockp); 1270 static vm_page_t reclaim_pv_chunk(pmap_t locked_pmap, struct rwlock **lockp); 1272 struct rwlock **lockp); 1274 struct rwlock **lockp); [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_context.h | 676 #define CALLB_CPR_INIT(cp, lockp, func, name) { \ 677 (cp)->cc_lockp = lockp; \ 684 #define CALLB_CPR_SAFE_END(cp, lockp) { \
|
/freebsd/sys/kern/ |
H A D | subr_turnstile.c | 592 turnstile_lock(struct turnstile *ts, struct lock_object **lockp, in turnstile_lock() argument 608 *lockp = lock; in turnstile_lock()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | arc.c | 1035 buf_hash_find(uint64_t spa, const blkptr_t *bp, kmutex_t **lockp) in buf_hash_find() argument 1047 *lockp = hash_lock; in buf_hash_find() 1052 *lockp = NULL; in buf_hash_find() 1064 buf_hash_insert(arc_buf_hdr_t *hdr, kmutex_t **lockp) in buf_hash_insert() argument 1075 if (lockp != NULL) { in buf_hash_insert() 1076 *lockp = hash_lock; in buf_hash_insert()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | fil.c | 4122 ipf_lock(caddr_t data, int *lockp) in ipf_lock() argument 4129 err = BCOPYOUT(lockp, data, sizeof(*lockp)); in ipf_lock() 4132 *lockp = arg; in ipf_lock()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1973 volatile uintptr_t *lockp = &hash[bucket].dtdh_lock; in dtrace_dynvar() local 1976 while ((lock = *lockp) & 1) in dtrace_dynvar() 1979 if (dtrace_casptr((volatile void *)lockp, in dtrace_dynvar()
|