| /freebsd-14.2/sys/sys/ |
| H A D | bufobj.h | 125 #define ASSERT_BO_WLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_WLOCKED) 126 #define ASSERT_BO_LOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_LOCKED) 127 #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-14.2/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 | 459 #define INP_LOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_LOCKED) 460 #define INP_RLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_RLOCKED) 461 #define INP_WLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_WLOCKED) 462 #define INP_UNLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_UNLOCKED)
|
| /freebsd-14.2/sys/vm/ |
| H A D | vm_object.h | 247 rw_assert(&(object)->lock, RA_LOCKED) 249 rw_assert(&(object)->lock, RA_RLOCKED) 251 rw_assert(&(object)->lock, RA_WLOCKED) 253 rw_assert(&(object)->lock, RA_UNLOCKED)
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | nd6.h | 276 #define ND6_WLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_WLOCKED) 277 #define ND6_RLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_RLOCKED) 278 #define ND6_LOCK_ASSERT() rw_assert(&V_nd6_lock, RA_LOCKED) 279 #define ND6_UNLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_UNLOCKED)
|
| H A D | nd6_nbr.c | 1185 #define DADQ_LOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_LOCKED); 1186 #define DADQ_RLOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_RLOCKED); 1187 #define DADQ_WLOCK_ASSERT() rw_assert(DADQ_LOCKPTR(), RA_WLOCKED);
|
| /freebsd-14.2/sys/fs/nullfs/ |
| H A D | null_subr.c | 102 rw_assert(&null_hash_lock, RA_LOCKED); in null_hashget_locked() 152 rw_assert(&null_hash_lock, RA_WLOCKED); in null_hashins()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_private.h | 436 #define IPFW_RLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_RLOCKED) 437 #define IPFW_WLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_WLOCKED) 469 #define IPFW_UH_RLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_RLOCKED) 470 #define IPFW_UH_WLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_WLOCKED) 471 #define IPFW_UH_UNLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_UNLOCKED)
|
| /freebsd-14.2/sys/geom/union/ |
| H A D | g_union.h | 119 #define G_WLOCKOWNED(sc) rw_assert(&(sc)->sc_rwlock, RA_WLOCKED)
|
| /freebsd-14.2/sys/net/route/ |
| H A D | nhop_var.h | 69 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
|
| /freebsd-14.2/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-14.2/sys/netinet/cc/ |
| H A D | cc.h | 227 #define CC_LIST_LOCK_ASSERT() rw_assert(&cc_list_lock, RA_LOCKED)
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | pmap.c | 2452 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry() 2511 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry() 2580 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove() 2598 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pde() 2632 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pde() 2674 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry() 2692 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry() 2707 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry() 2728 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_insert_pde() 3010 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_pte() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_loginclass.c | 109 rw_assert(&loginclasses_lock, RA_LOCKED); in loginclass_lookup()
|
| H A D | kern_khelp.c | 67 #define KHELP_LIST_LOCK_ASSERT() rw_assert(&khelp_list_lock, RA_LOCKED)
|
| H A D | kern_rwlock.c | 164 rw_assert((const struct rwlock *)lock, what); in assert_rw() 185 rw_assert(rw, RA_LOCKED | LA_NOTRECURSED); in unlock_rw()
|
| /freebsd-14.2/sys/arm/arm/ |
| H A D | pmap-v6.c | 2966 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry() 3008 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry() 3081 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry() 3093 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove() 3118 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry() 3135 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pte1() 3169 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pte1() 3204 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry() 3225 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_insert_pte1() 4093 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_pte2() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/sys/net/ |
| H A D | if_llatbl.h | 99 #define LLE_WLOCK_ASSERT(lle) rw_assert(&(lle)->lle_lock, RA_WLOCKED)
|
| /freebsd-14.2/sys/powerpc/aim/ |
| H A D | mmu_oea.c | 506 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_attr_clear() 521 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_attr_save() 1174 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_enter_locked() 2534 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_query_bit() 2582 rw_assert(&pvh_global_lock, RA_WLOCKED); in moea_clear_bit()
|
| /freebsd-14.2/sys/riscv/riscv/ |
| H A D | pmap.c | 1789 rw_assert(&pvh_global_lock, RA_LOCKED); in free_pv_entry() 1845 rw_assert(&pvh_global_lock, RA_LOCKED); in get_pv_entry() 1915 rw_assert(&pvh_global_lock, RA_LOCKED); in reserve_pv_entries() 1983 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pvh_remove() 2020 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_try_insert_pv_entry() 2049 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pv_demote_l2() 2107 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_pv_promote_l2() 3432 rw_assert(&pvh_global_lock, RA_LOCKED); in pmap_enter_quick_locked()
|