Home | History | Annotate | Download | only in lagg

Lines Matching refs:_sc

207 #define LAGG_LOCK(_sc)		mutex_enter(&(_sc)->sc_lock)
208 #define LAGG_UNLOCK(_sc) mutex_exit(&(_sc)->sc_lock)
209 #define LAGG_LOCKED(_sc) mutex_owned(&(_sc)->sc_lock)
210 #define LAGG_CLLADDR(_sc) CLLADDR((_sc)->sc_if.if_sadl)
212 #define LAGG_PORTS_FOREACH(_sc, _lp) \
213 SIMPLEQ_FOREACH((_lp), &(_sc)->sc_ports, lp_entry)
214 #define LAGG_PORTS_FIRST(_sc) SIMPLEQ_FIRST(&(_sc)->sc_ports)
215 #define LAGG_PORTS_EMPTY(_sc) SIMPLEQ_EMPTY(&(_sc)->sc_ports)
276 #define LAGG_LOG(_sc, _lvl, _fmt, _arg...) do { \
278 !lagg_debug_enable(_sc)) \
281 log((_lvl), "%s: ", (_sc)->sc_if.if_xname); \