Lines Matching refs:_ic
63 #define IEEE80211_LOCK_INIT(_ic, _name) do { \ argument
64 ieee80211_com_lock_t *cl = &(_ic)->ic_comlock; \
68 #define IEEE80211_LOCK_OBJ(_ic) (&(_ic)->ic_comlock.mtx) argument
69 #define IEEE80211_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_LOCK_OBJ(_ic)) argument
70 #define IEEE80211_LOCK(_ic) mtx_lock(IEEE80211_LOCK_OBJ(_ic)) argument
71 #define IEEE80211_UNLOCK(_ic) mtx_unlock(IEEE80211_LOCK_OBJ(_ic)) argument
72 #define IEEE80211_LOCK_ASSERT(_ic) \ argument
73 mtx_assert(IEEE80211_LOCK_OBJ(_ic), MA_OWNED)
74 #define IEEE80211_UNLOCK_ASSERT(_ic) \ argument
75 mtx_assert(IEEE80211_LOCK_OBJ(_ic), MA_NOTOWNED)
76 #define IEEE80211_IS_LOCKED(_ic) \ argument
77 mtx_owned(IEEE80211_LOCK_OBJ(_ic))
89 #define IEEE80211_TX_LOCK_INIT(_ic, _name) do { \ argument
90 ieee80211_tx_lock_t *cl = &(_ic)->ic_txlock; \
94 #define IEEE80211_TX_LOCK_OBJ(_ic) (&(_ic)->ic_txlock.mtx) argument
95 #define IEEE80211_TX_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_TX_LOCK_OBJ(_ic)) argument
96 #define IEEE80211_TX_LOCK(_ic) mtx_lock(IEEE80211_TX_LOCK_OBJ(_ic)) argument
97 #define IEEE80211_TX_UNLOCK(_ic) mtx_unlock(IEEE80211_TX_LOCK_OBJ(_ic)) argument
98 #define IEEE80211_TX_LOCK_ASSERT(_ic) \ argument
99 mtx_assert(IEEE80211_TX_LOCK_OBJ(_ic), MA_OWNED)
100 #define IEEE80211_TX_UNLOCK_ASSERT(_ic) \ argument
101 mtx_assert(IEEE80211_TX_LOCK_OBJ(_ic), MA_NOTOWNED)
110 #define IEEE80211_FF_LOCK_INIT(_ic, _name) do { \ argument
111 ieee80211_ff_lock_t *fl = &(_ic)->ic_fflock; \
115 #define IEEE80211_FF_LOCK_OBJ(_ic) (&(_ic)->ic_fflock.mtx) argument
116 #define IEEE80211_FF_LOCK_DESTROY(_ic) mtx_destroy(IEEE80211_FF_LOCK_OBJ(_ic)) argument
117 #define IEEE80211_FF_LOCK(_ic) mtx_lock(IEEE80211_FF_LOCK_OBJ(_ic)) argument
118 #define IEEE80211_FF_UNLOCK(_ic) mtx_unlock(IEEE80211_FF_LOCK_OBJ(_ic)) argument
119 #define IEEE80211_FF_LOCK_ASSERT(_ic) \ argument
120 mtx_assert(IEEE80211_FF_LOCK_OBJ(_ic), MA_OWNED)