Home
last modified time | relevance | path

Searched refs:__sc (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/sfxge/
H A Dsfxge.h411 struct sfxge_softc *__sc = (_sc); \
413 snprintf((__sc)->softc_lock_name, \
414 sizeof((__sc)->softc_lock_name), \
416 sx_init(&(__sc)->softc_lock, (__sc)->softc_lock_name); \
/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsivar.h179 struct vtscsi_softc *__sc = (_req)->vsr_softc; \
180 if ((__sc)->vtscsi_debug & (_level)) \
/freebsd/sys/dev/usb/input/
H A Dums.c162 static void ums_put_queue_timeout(void *__sc);
206 ums_put_queue_timeout(void *__sc) in ums_put_queue_timeout() argument
208 struct ums_softc *sc = __sc; in ums_put_queue_timeout()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_ni.c111 #define DPNI_LOCK(__sc) do { \ argument
112 mtx_assert(&(__sc)->lock, MA_NOTOWNED); \
113 mtx_lock(&(__sc)->lock); \
115 #define DPNI_UNLOCK(__sc) do { \ argument
116 mtx_assert(&(__sc)->lock, MA_OWNED); \
117 mtx_unlock(&(__sc)->lock); \
119 #define DPNI_LOCK_ASSERT(__sc) do { \ argument
120 mtx_assert(&(__sc)->lock, MA_OWNED); \