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.h180 struct vtscsi_softc *__sc = (_req)->vsr_softc; \
181 if ((__sc)->vtscsi_debug & (_level)) \
/freebsd/sys/dev/usb/input/
H A Dums.c161 static void ums_put_queue_timeout(void *__sc);
205 ums_put_queue_timeout(void *__sc) in ums_put_queue_timeout() argument
207 struct ums_softc *sc = __sc; in ums_put_queue_timeout()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_ni.c114 #define DPNI_LOCK(__sc) do { \ argument
115 mtx_assert(&(__sc)->lock, MA_NOTOWNED); \
116 mtx_lock(&(__sc)->lock); \
118 #define DPNI_UNLOCK(__sc) do { \ argument
119 mtx_assert(&(__sc)->lock, MA_OWNED); \
120 mtx_unlock(&(__sc)->lock); \
122 #define DPNI_LOCK_ASSERT(__sc) do { \ argument
123 mtx_assert(&(__sc)->lock, MA_OWNED); \