/freebsd/sys/dev/xen/blkfront/ |
H A D | block.h | 112 struct xbd_softc *cm_sc; member 248 TAILQ_INSERT_TAIL(&cm->cm_sc->xbd_cm_q[index].q_tailq, cm, cm_link); in xbd_enqueue_cm() 251 xbd_added_qentry(cm->cm_sc, index); in xbd_enqueue_cm() 262 TAILQ_INSERT_HEAD(&cm->cm_sc->xbd_cm_q[index].q_tailq, cm, cm_link); in xbd_requeue_cm() 265 xbd_added_qentry(cm->cm_sc, index); in xbd_requeue_cm() 287 xbd_removed_qentry(cm->cm_sc, index); in xbd_dequeue_cm() 306 TAILQ_REMOVE(&cm->cm_sc->xbd_cm_q[index].q_tailq, cm, cm_link); in xbd_remove_cm() 309 xbd_removed_qentry(cm->cm_sc, index); in xbd_remove_cm()
|
H A D | blkfront.c | 155 xbd_thaw(cm->cm_sc, XBDF_CM_SHORTAGE); in xbd_free_command() 217 sc = cm->cm_sc; in xbd_queue_cb() 1369 cm->cm_sc = sc; in xbd_connect()
|
/freebsd/sys/dev/mfi/ |
H A D | mfivar.h | 87 struct mfi_softc *cm_sc; member 490 TAILQ_INSERT_TAIL(&cm->cm_sc->mfi_ ## name, cm, cm_link); \ 492 MFIQ_ADD(cm->cm_sc, index); \ 501 TAILQ_INSERT_HEAD(&cm->cm_sc->mfi_ ## name, cm, cm_link); \ 503 MFIQ_ADD(cm->cm_sc, index); \ 530 TAILQ_REMOVE(&cm->cm_sc->mfi_ ## name, cm, cm_link); \ 532 MFIQ_REMOVE(cm->cm_sc, index); \
|
H A D | mfi_debug.c | 204 sc = cm->cm_sc; in mfi_print_cmd()
|
H A D | mfi.c | 817 cm->cm_sc = sc; in mfi_alloc_commands() 849 mtx_assert(&cm->cm_sc->mfi_io_lock, MA_OWNED); in mfi_release_command() 880 mfi_tbolt_return_cmd(cm->cm_sc, in mfi_release_command() 881 cm->cm_sc->mfi_cmd_pool_tbolt[cm->cm_extra_frames - 1], in mfi_release_command() 1724 sc = cm->cm_sc; in mfi_aen_complete() 1910 sc = cm->cm_sc; in mfi_add_ld_complete() 1993 sc = cm->cm_sc; in mfi_add_sys_pd_complete() 2249 sc = cm->cm_sc; in mfi_bio_complete() 2256 mfi_print_sense(cm->cm_sc, cm->cm_sense); in mfi_bio_complete() 2347 sc = cm->cm_sc; in mfi_data_cb()
|
H A D | mfi_tbolt.c | 1444 sc = cm->cm_sc; in mfi_sync_map_complete()
|
/freebsd/sys/dev/aac/ |
H A D | aacvar.h | 156 struct aac_softc *cm_sc; /* controller that owns us */ member 545 TAILQ_INSERT_TAIL(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 547 AACQ_ADD(cm->cm_sc, index); \ 556 TAILQ_INSERT_HEAD(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 558 AACQ_ADD(cm->cm_sc, index); \ 583 TAILQ_REMOVE(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 585 AACQ_REMOVE(cm->cm_sc, index); \
|
H A D | aac_cam.c | 512 aac_startio(cm->cm_sc); in aac_cam_action() 579 sc = cm->cm_sc; in aac_cam_complete()
|
H A D | aac.c | 1361 sc = cm->cm_sc; in aac_wait_command() 1408 sc = cm->cm_sc; in aac_release_command() 1421 cm->cm_fib->Header.SenderSize = cm->cm_sc->aac_max_fib_size; in aac_release_command() 1491 cm->cm_sc = sc; in aac_alloc_commands() 1560 sc = cm->cm_sc; in aac_map_command_sg() 1579 } else if ((cm->cm_sc->flags & AAC_FLAGS_SG_64BIT) == 0) { in aac_map_command_sg() 1649 sc = cm->cm_sc; in aac_unmap_command()
|
/freebsd/sys/dev/aacraid/ |
H A D | aacraid_var.h | 169 struct aac_softc *cm_sc; /* controller that owns us */ member 580 TAILQ_INSERT_TAIL(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 582 AACQ_ADD(cm->cm_sc, index); \ 592 TAILQ_INSERT_HEAD(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 594 AACQ_ADD(cm->cm_sc, index); \ 623 TAILQ_REMOVE(&cm->cm_sc->aac_ ## name, cm, cm_link); \ 625 AACQ_REMOVE(cm->cm_sc, index); \
|
H A D | aacraid_cam.c | 498 aacraid_startio(cm->cm_sc); in aac_container_rw_command() 953 aacraid_startio(cm->cm_sc); in aac_passthrough_command() 1125 fwprintf(cm->cm_sc, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, ""); in aac_container_complete() 1150 sc = cm->cm_sc; in aac_cam_complete()
|
H A D | aacraid.c | 1073 sc = cm->cm_sc; in aacraid_wait_command() 1119 sc = cm->cm_sc; in aacraid_release_command() 1132 cm->cm_fib->Header.SenderSize = cm->cm_sc->aac_max_fib_size; in aacraid_release_command() 1214 cm->cm_sc = sc; in aac_alloc_commands() 1294 sc = cm->cm_sc; in aacraid_map_command_sg() 1380 } else if ((cm->cm_sc->flags & AAC_FLAGS_SG_64BIT) == 0) { in aacraid_map_command_sg() 1494 sc = cm->cm_sc; in aac_unmap_command()
|
/freebsd/sys/dev/mps/ |
H A D | mps_sas.c | 303 if ((cm->cm_sc->mps_debug & level) == 0) in mpssas_log_command() 320 cam_sim_name(cm->cm_sc->sassc->sim), in mpssas_log_command() 321 cam_sim_unit(cm->cm_sc->sassc->sim), in mpssas_log_command() 322 cam_sim_bus(cm->cm_sc->sassc->sim), in mpssas_log_command() 330 mps_print_field(cm->cm_sc, "%s", sbuf_data(&sb)); in mpssas_log_command() 1148 struct mps_softc *sc = tm->cm_sc; in mpssas_tm_timeout() 1537 sc = cm->cm_sc; in mpssas_scsiio_timeout()
|
H A D | mps.c | 1519 cm->cm_sc = sc; in mps_alloc_requests() 2258 if (cm->cm_sc->io_cmds_active != 0) { in mps_complete_command() 2259 cm->cm_sc->io_cmds_active--; in mps_complete_command() 2729 chain = mps_alloc_chain(cm->cm_sc); in mps_add_chain() 2733 space = cm->cm_sc->reqframesz; in mps_add_chain() 2948 sc = cm->cm_sc; in mps_data_cb()
|
H A D | mpsvar.h | 211 struct mps_softc *cm_sc; member
|
H A D | mps_user.c | 408 space = (int)cm->cm_sc->reqframesz; in mpi_init_sge()
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas.c | 312 if ((cm->cm_sc->mpr_debug & level) == 0) in mprsas_log_command() 328 cam_sim_name(cm->cm_sc->sassc->sim), in mprsas_log_command() 329 cam_sim_unit(cm->cm_sc->sassc->sim), in mprsas_log_command() 330 cam_sim_bus(cm->cm_sc->sassc->sim), in mprsas_log_command() 338 mpr_print_field(cm->cm_sc, "%s", sbuf_data(&sb)); in mprsas_log_command() 1206 struct mpr_softc *sc = tm->cm_sc; in mprsas_tm_timeout() 1620 sc = cm->cm_sc; in mprsas_scsiio_timeout()
|
H A D | mpr.c | 1589 cm->cm_sc = sc; in mpr_alloc_requests() 3381 struct mpr_softc *sc = cm->cm_sc; in mpr_add_chain() 3403 chain = mpr_alloc_chain(cm->cm_sc); in mpr_add_chain() 3473 mpr_dprint(cm->cm_sc, MPR_ERROR, in mpr_push_sge() 3658 sc = cm->cm_sc; in mpr_data_cb()
|
H A D | mprvar.h | 245 struct mpr_softc *cm_sc; member
|
H A D | mpr_user.c | 422 space = (int)cm->cm_sc->reqframesz; in mpr_init_sge()
|