Searched refs:pi_lock (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/sys/dev/cxgbe/
H A Dadapter.h216 struct mtx pi_lock; member in struct:port_info
810 #define PORT_LOCK(pi) mtx_lock(&(pi)->pi_lock)
811 #define PORT_UNLOCK(pi) mtx_unlock(&(pi)->pi_lock)
812 #define PORT_LOCK_ASSERT_OWNED(pi) mtx_assert(&(pi)->pi_lock, MA_OWNED)
813 #define PORT_LOCK_ASSERT_NOTOWNED(pi) mtx_assert(&(pi)->pi_lock, MA_NOTOWNED)
H A Dt4_main.c725 mtx_init(&pi->pi_lock, pi->lockname, 0, MTX_DEF);
953 mtx_destroy(&pi->pi_lock);

Completed in 112 milliseconds