| /f-stack/freebsd/sys/ |
| H A D | bufobj.h | 127 #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 D | rwlock.h | 292 #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 D | in_pcb.h | 591 #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 D | in_pcb.h | 591 #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 D | tcp_timewait.c | 128 #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 D | sctp_lock_bsd.h | 178 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_LOCKED); \ 182 rw_assert(&SCTP_BASE_INFO(ipi_addr_mtx), RA_WLOCKED); \
|
| H A D | tcp_log_buf.c | 234 #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 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)
|
| /f-stack/freebsd/netinet6/ |
| H A D | nd6.h | 290 #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 D | nd6.h | 290 #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 D | ip_fw_private.h | 429 #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 D | nhop_var.h | 72 #define NHOPS_WLOCK_ASSERT(ctl) rw_assert(&(ctl)->ctl_lock, RA_WLOCKED)
|
| /f-stack/freebsd/netinet/cc/ |
| H A D | cc.h | 183 #define CC_LIST_LOCK_ASSERT() rw_assert(&cc_list_lock, RA_LOCKED)
|
| /f-stack/freebsd/kern/ |
| H A D | kern_loginclass.c | 113 rw_assert(&loginclasses_lock, RA_LOCKED); in loginclass_lookup()
|
| H A D | kern_khelp.c | 69 #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() 187 rw_assert(rw, RA_LOCKED | LA_NOTRECURSED); in unlock_rw()
|
| H A D | uipc_usrreq.c | 257 #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 D | kern_event.c | 2406 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 D | kern_resource.c | 1352 rw_assert(&uihashtbl_lock, RA_LOCKED); in uilookup()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | pmap.c | 2478 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 D | pmap-v6.c | 2985 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 D | pmap.c | 1572 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 D | if_llatbl.h | 97 #define LLE_WLOCK_ASSERT(lle) rw_assert(&(lle)->lle_lock, RA_WLOCKED)
|
| H A D | if_llatbl.c | 79 #define LLTABLE_LIST_LOCK_ASSERT() rw_assert(&lltable_list_lock, RA_LOCKED)
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_pipe.c | 211 #define AUDIT_PIPE_LIST_WLOCK_ASSERT() rw_assert(&audit_pipe_lock, \
|