Lines Matching refs:ipi_lock
329 struct rwlock ipi_lock; member
489 rw_init_flags(&(ipi)->ipi_lock, (d), RW_RECURSE)
490 #define INP_INFO_LOCK_DESTROY(ipi) rw_destroy(&(ipi)->ipi_lock)
491 #define INP_INFO_RLOCK(ipi) rw_rlock(&(ipi)->ipi_lock)
492 #define INP_INFO_WLOCK(ipi) rw_wlock(&(ipi)->ipi_lock)
493 #define INP_INFO_TRY_RLOCK(ipi) rw_try_rlock(&(ipi)->ipi_lock)
494 #define INP_INFO_TRY_WLOCK(ipi) rw_try_wlock(&(ipi)->ipi_lock)
495 #define INP_INFO_TRY_UPGRADE(ipi) rw_try_upgrade(&(ipi)->ipi_lock)
496 #define INP_INFO_WLOCKED(ipi) rw_wowned(&(ipi)->ipi_lock)
497 #define INP_INFO_RUNLOCK(ipi) rw_runlock(&(ipi)->ipi_lock)
498 #define INP_INFO_WUNLOCK(ipi) rw_wunlock(&(ipi)->ipi_lock)
499 #define INP_INFO_LOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_lock, RA_LOCKED)
500 #define INP_INFO_RLOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_lock, RA_RLOCKED)
501 #define INP_INFO_WLOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_lock, RA_WLOCKED)
502 #define INP_INFO_UNLOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_lock, RA_UNLOCKED)