| /freebsd/sys/sys/ |
| H A D | bufobj.h | 126 #define ASSERT_BO_WLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_WLOCKED) 127 #define ASSERT_BO_LOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_LOCKED) 128 #define ASSERT_BO_UNLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_UNLOCKED)
|
| H A D | rwlock.h | 293 #define rw_assert(rw, what) _rw_assert((rw), (what), LOCK_FILE, LOCK_LINE) macro 295 #define rw_assert(rw, what) macro
|
| /freebsd/sys/netinet/ |
| H A D | sctp_lock_bsd.h | 108 rw_assert(&SCTP_BASE_INFO(ipi_ep_mtx), RA_LOCKED); \ 112 rw_assert(&SCTP_BASE_INFO(ipi_ep_mtx), RA_RLOCKED); \ 116 rw_assert(&SCTP_BASE_INFO(ipi_ep_mtx), RA_WLOCKED); \ 187 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_LOCKED); \ 191 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_WLOCKED); \
|
| H A D | in_pcb.h | 524 #define INP_LOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_LOCKED) 525 #define INP_RLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_RLOCKED) 526 #define INP_WLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_WLOCKED) 527 #define INP_UNLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_UNLOCKED)
|
| /freebsd/sys/vm/ |
| H A D | vm_object.h | 246 rw_assert(&(object)->lock, RA_LOCKED) 248 rw_assert(&(object)->lock, RA_RLOCKED) 250 rw_assert(&(object)->lock, RA_WLOCKED) 252 rw_assert(&(object)->lock, RA_UNLOCKED)
|
| /freebsd/sys/netinet6/ |
| H A D | nd6.h | 258 #define ND6_WLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_WLOCKED) 259 #define ND6_RLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_RLOCKED) 260 #define ND6_LOCK_ASSERT() rw_assert(&V_nd6_lock, RA_LOCKED) 261 #define ND6_UNLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_UNLOCKED)
|
| H A D | nd6_nbr.c | 1190 #define DADQ_LOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_LOCKED); 1191 #define DADQ_RLOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_RLOCKED); 1192 #define DADQ_WLOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_WLOCKED);
|
| /freebsd/sys/fs/nullfs/ |
| H A D | null_subr.c | 110 rw_assert(&null_hash_lock, RA_LOCKED); in null_hashget_locked() 147 rw_assert(&null_hash_lock, RA_UNLOCKED); in null_hashget() 180 rw_assert(&null_hash_lock, RA_WLOCKED); in null_hashins()
|
| /freebsd/sys/geom/union/ |
| H A D | g_union.h | 119 #define G_WLOCKOWNED(sc) rw_assert(&(sc)->sc_rwlock, RA_WLOCKED)
|
| /freebsd/sys/net/route/ |
| H A D | nhop_var.h | 69 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
|
| /freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
| H A D | sdp.h | 410 #define SDP_WLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_WLOCKED) 411 #define SDP_RLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_RLOCKED) 412 #define SDP_LOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_LOCKED)
|
| H A D | sdp_main.c | 89 #define SDP_LIST_WLOCK_ASSERT() rw_assert(&sdp_lock, RW_WLOCKED) 90 #define SDP_LIST_RLOCK_ASSERT() rw_assert(&sdp_lock, RW_RLOCKED) 91 #define SDP_LIST_LOCK_ASSERT() rw_assert(&sdp_lock, RW_LOCKED)
|
| /freebsd/sys/netinet/cc/ |
| H A D | cc.h | 220 #define CC_LIST_LOCK_ASSERT() rw_assert(&cc_list_lock, RA_LOCKED)
|
| /freebsd/sys/i386/i386/ |
| H A D | pmap.c | 1569 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pte_quick() 1603 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pte_quick3() 2450 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry() 2509 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry() 2578 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove() 2596 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pde() 2630 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pde() 2672 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry() 2690 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry() 2705 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry() [all …]
|
| /freebsd/sys/kern/ |
| H A D | kern_loginclass.c | 108 rw_assert(&loginclasses_lock, RA_LOCKED); in loginclass_lookup()
|
| H A D | kern_khelp.c | 66 #define KHELP_LIST_LOCK_ASSERT() rw_assert(&khelp_list_lock, RA_LOCKED)
|
| H A D | kern_rwlock.c | 166 rw_assert((const struct rwlock *)lock, what); in assert_rw() 199 rw_assert(rw, RA_LOCKED | LA_NOTRECURSED); in unlock_rw()
|
| /freebsd/sys/arm/arm/ |
| H A D | pmap-v6.c | 1943 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pte2_quick() 2998 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry() 3040 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry() 3113 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry() 3125 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove() 3150 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry() 3167 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pte1() 3201 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pte1() 3236 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry() 3257 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_insert_pte1() [all …]
|
| /freebsd/sys/dev/wg/ |
| H A D | wg_noise.c | 284 rw_assert(&l->l_identity_lock, RA_LOCKED); in noise_precompute_ss() 449 rw_assert(&r->r_handshake_lock, RA_WLOCKED); in noise_remote_index_remove() 634 rw_assert(&r->r_handshake_lock, RA_WLOCKED); in noise_add_new_keypair() 654 rw_assert(&r->r_handshake_lock, RA_WLOCKED); in noise_begin_session()
|
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_smt.c | 76 rw_assert(&s->lock, RA_WLOCKED); in t4_find_or_alloc_sme()
|
| H A D | t4_l2t.c | 75 rw_assert(&d->lock, RA_WLOCKED); in t4_alloc_l2e()
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_fw_private.h | 446 #define IPFW_RLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_RLOCKED) 447 #define IPFW_WLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_WLOCKED)
|
| /freebsd/sys/net/ |
| H A D | if_llatbl.h | 99 #define LLE_WLOCK_ASSERT(lle) rw_assert(&(lle)->lle_lock, RA_WLOCKED)
|
| /freebsd/sys/powerpc/aim/ |
| H A D | mmu_oea.c | 507 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_attr_clear() 522 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_attr_save() 1174 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_enter_locked() 2540 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_query_bit() 2588 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_clear_bit()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | pmap.c | 2101 rw_assert(&pvh_global_lock, RA_LOCKED); in free_pv_entry() 2157 rw_assert(&pvh_global_lock, RA_LOCKED); in get_pv_entry() 2227 rw_assert(&pvh_global_lock, RA_LOCKED); in reserve_pv_entries() 2295 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pvh_remove() 2332 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_try_insert_pv_entry() 2361 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pv_demote_l2() 2421 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pv_promote_l2() 3785 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_enter_quick_locked()
|