Searched refs:pi_lock (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12.1/sys/dev/cxgbe/ |
| H A D | adapter.h | 287 struct mtx pi_lock; member 912 #define PORT_LOCK(pi) mtx_lock(&(pi)->pi_lock) 913 #define PORT_UNLOCK(pi) mtx_unlock(&(pi)->pi_lock) 914 #define PORT_LOCK_ASSERT_OWNED(pi) mtx_assert(&(pi)->pi_lock, MA_OWNED) 915 #define PORT_LOCK_ASSERT_NOTOWNED(pi) mtx_assert(&(pi)->pi_lock, MA_NOTOWNED)
|
| H A D | t4_vf.c | 644 mtx_init(&pi->pi_lock, pi->lockname, 0, MTX_DEF); in t4vf_attach()
|
| H A D | t4_main.c | 1136 mtx_init(&pi->pi_lock, pi->lockname, 0, MTX_DEF); in t4_attach() 1506 mtx_destroy(&pi->pi_lock); in t4_detach_common() 1732 callout_init_mtx(&pi->tick, &pi->pi_lock, 0); in cxgbe_attach()
|