Lines Matching refs:ipi
488 #define INP_INFO_LOCK_INIT(ipi, d) \
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)
504 #define INP_LIST_LOCK_INIT(ipi, d) \
505 rw_init_flags(&(ipi)->ipi_list_lock, (d), 0)
506 #define INP_LIST_LOCK_DESTROY(ipi) rw_destroy(&(ipi)->ipi_list_lock)
507 #define INP_LIST_RLOCK(ipi) rw_rlock(&(ipi)->ipi_list_lock)
508 #define INP_LIST_WLOCK(ipi) rw_wlock(&(ipi)->ipi_list_lock)
509 #define INP_LIST_TRY_RLOCK(ipi) rw_try_rlock(&(ipi)->ipi_list_lock)
510 #define INP_LIST_TRY_WLOCK(ipi) rw_try_wlock(&(ipi)->ipi_list_lock)
511 #define INP_LIST_TRY_UPGRADE(ipi) rw_try_upgrade(&(ipi)->ipi_list_lock)
512 #define INP_LIST_RUNLOCK(ipi) rw_runlock(&(ipi)->ipi_list_lock)
513 #define INP_LIST_WUNLOCK(ipi) rw_wunlock(&(ipi)->ipi_list_lock)
514 #define INP_LIST_LOCK_ASSERT(ipi) \
515 rw_assert(&(ipi)->ipi_list_lock, RA_LOCKED)
516 #define INP_LIST_RLOCK_ASSERT(ipi) \
517 rw_assert(&(ipi)->ipi_list_lock, RA_RLOCKED)
518 #define INP_LIST_WLOCK_ASSERT(ipi) \
519 rw_assert(&(ipi)->ipi_list_lock, RA_WLOCKED)
520 #define INP_LIST_UNLOCK_ASSERT(ipi) \
521 rw_assert(&(ipi)->ipi_list_lock, RA_UNLOCKED)
523 #define INP_HASH_LOCK_INIT(ipi, d) \
524 rw_init_flags(&(ipi)->ipi_hash_lock, (d), 0)
525 #define INP_HASH_LOCK_DESTROY(ipi) rw_destroy(&(ipi)->ipi_hash_lock)
526 #define INP_HASH_RLOCK(ipi) rw_rlock(&(ipi)->ipi_hash_lock)
527 #define INP_HASH_WLOCK(ipi) rw_wlock(&(ipi)->ipi_hash_lock)
528 #define INP_HASH_RUNLOCK(ipi) rw_runlock(&(ipi)->ipi_hash_lock)
529 #define INP_HASH_WUNLOCK(ipi) rw_wunlock(&(ipi)->ipi_hash_lock)
530 #define INP_HASH_LOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_hash_lock, \
532 #define INP_HASH_WLOCK_ASSERT(ipi) rw_assert(&(ipi)->ipi_hash_lock, \