Home
last modified time | relevance | path

Searched refs:rw_assert (Results 1 – 25 of 29) sorted by relevance

12

/f-stack/freebsd/sys/
H A Dbufobj.h127 #define ASSERT_BO_WLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_WLOCKED)
128 #define ASSERT_BO_LOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_LOCKED)
129 #define ASSERT_BO_UNLOCKED(bo) rw_assert(BO_LOCKPTR((bo)), RA_UNLOCKED)
H A Drwlock.h292 #define rw_assert(rw, what) _rw_assert((rw), (what), LOCK_FILE, LOCK_LINE) macro
294 #define rw_assert(rw, what) macro
/f-stack/tools/compat/include/netinet/
H A Din_pcb.h591 #define INP_LOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_LOCKED)
592 #define INP_RLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_RLOCKED)
593 #define INP_WLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_WLOCKED)
594 #define INP_UNLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_UNLOCKED)
650 rw_assert(&(ipi)->ipi_list_lock, RA_LOCKED)
652 rw_assert(&(ipi)->ipi_list_lock, RA_RLOCKED)
654 rw_assert(&(ipi)->ipi_list_lock, RA_WLOCKED)
656 rw_assert(&(ipi)->ipi_list_lock, RA_UNLOCKED)
/f-stack/freebsd/netinet/
H A Din_pcb.h591 #define INP_LOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_LOCKED)
592 #define INP_RLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_RLOCKED)
593 #define INP_WLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_WLOCKED)
594 #define INP_UNLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_UNLOCKED)
650 rw_assert(&(ipi)->ipi_list_lock, RA_LOCKED)
652 rw_assert(&(ipi)->ipi_list_lock, RA_RLOCKED)
654 rw_assert(&(ipi)->ipi_list_lock, RA_WLOCKED)
656 rw_assert(&(ipi)->ipi_list_lock, RA_UNLOCKED)
H A Dtcp_timewait.c128 #define TW_LOCK_ASSERT(tw) rw_assert(&(tw), RA_LOCKED)
129 #define TW_RLOCK_ASSERT(tw) rw_assert(&(tw), RA_RLOCKED)
130 #define TW_WLOCK_ASSERT(tw) rw_assert(&(tw), RA_WLOCKED)
131 #define TW_UNLOCK_ASSERT(tw) rw_assert(&(tw), RA_UNLOCKED)
H A Dsctp_lock_bsd.h178 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_LOCKED); \
182 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_WLOCKED); \
H A Dtcp_log_buf.c234 #define TCPID_TREE_WLOCK_ASSERT() rw_assert(&tcp_id_tree_lock, RA_WLOCKED)
235 #define TCPID_TREE_RLOCK_ASSERT() rw_assert(&tcp_id_tree_lock, RA_RLOCKED)
236 #define TCPID_TREE_UNLOCK_ASSERT() rw_assert(&tcp_id_tree_lock, RA_UNLOCKED)
/f-stack/freebsd/vm/
H A Dvm_object.h247 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)
/f-stack/freebsd/netinet6/
H A Dnd6.h290 #define ND6_WLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_WLOCKED)
291 #define ND6_RLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_RLOCKED)
292 #define ND6_LOCK_ASSERT() rw_assert(&V_nd6_lock, RA_LOCKED)
293 #define ND6_UNLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_UNLOCKED)
/f-stack/tools/compat/include/netinet6/
H A Dnd6.h290 #define ND6_WLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_WLOCKED)
291 #define ND6_RLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_RLOCKED)
292 #define ND6_LOCK_ASSERT() rw_assert(&V_nd6_lock, RA_LOCKED)
293 #define ND6_UNLOCK_ASSERT() rw_assert(&V_nd6_lock, RA_UNLOCKED)
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_private.h429 #define IPFW_RLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_RLOCKED)
430 #define IPFW_WLOCK_ASSERT(_chain) rw_assert(&(_chain)->rwmtx, RA_WLOCKED)
462 #define IPFW_UH_RLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_RLOCKED)
463 #define IPFW_UH_WLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_WLOCKED)
464 #define IPFW_UH_UNLOCK_ASSERT(_chain) rw_assert(&(_chain)->uh_lock, RA_UNLOCKED)
/f-stack/freebsd/net/route/
H A Dnhop_var.h72 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
/f-stack/freebsd/netinet/cc/
H A Dcc.h183 #define CC_LIST_LOCK_ASSERT() rw_assert(&cc_list_lock, RA_LOCKED)
/f-stack/freebsd/kern/
H A Dkern_loginclass.c113 rw_assert(&loginclasses_lock, RA_LOCKED); in loginclass_lookup()
H A Dkern_khelp.c69 #define KHELP_LIST_LOCK_ASSERT() rw_assert(&khelp_list_lock, RA_LOCKED)
H A Dkern_rwlock.c166 rw_assert((const struct rwlock *)lock, what); in assert_rw()
187 rw_assert(rw, RA_LOCKED | LA_NOTRECURSED); in unlock_rw()
H A Duipc_usrreq.c257 #define UNP_LINK_LOCK_ASSERT() rw_assert(&unp_link_rwlock, \
259 #define UNP_LINK_UNLOCK_ASSERT() rw_assert(&unp_link_rwlock, \
266 #define UNP_LINK_WLOCK_ASSERT() rw_assert(&unp_link_rwlock, \
H A Dkern_event.c2406 rw_assert((struct rwlock *)arg, RA_LOCKED); in knlist_rw_assert_lock()
2408 rw_assert((struct rwlock *)arg, RA_UNLOCKED); in knlist_rw_assert_lock()
H A Dkern_resource.c1352 rw_assert(&uihashtbl_lock, RA_LOCKED); in uilookup()
/f-stack/freebsd/i386/i386/
H A Dpmap.c2478 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry()
2537 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry()
2606 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove()
2624 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pde()
2658 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pde()
2700 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry()
2718 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry()
2733 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry()
2754 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_insert_pde()
3036 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_pte()
[all …]
/f-stack/freebsd/arm/arm/
H A Dpmap-v6.c2985 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry()
3027 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry()
3100 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_insert_entry()
3112 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove()
3137 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry()
3154 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_demote_pte1()
3188 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_promote_pte1()
3223 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry()
3244 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pv_insert_pte1()
4113 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_pte2()
[all …]
/f-stack/freebsd/mips/mips/
H A Dpmap.c1572 rw_assert(&pvh_global_lock, RA_WLOCKED); in free_pv_entry()
1628 rw_assert(&pvh_global_lock, RA_WLOCKED); in get_pv_entry()
1690 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_pvh_remove()
1716 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_entry()
1731 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_try_insert_pv_entry()
1769 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_pte()
1815 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_remove_page()
2334 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_enter_quick_locked()
2917 rw_assert(&pvh_global_lock, RA_WLOCKED); in pmap_testbit()
/f-stack/freebsd/net/
H A Dif_llatbl.h97 #define LLE_WLOCK_ASSERT(lle) rw_assert(&(lle)->lle_lock, RA_WLOCKED)
H A Dif_llatbl.c79 #define LLTABLE_LIST_LOCK_ASSERT() rw_assert(&lltable_list_lock, RA_LOCKED)
/f-stack/freebsd/security/audit/
H A Daudit_pipe.c211 #define AUDIT_PIPE_LIST_WLOCK_ASSERT() rw_assert(&audit_pipe_lock, \

12