/linux-master/drivers/scsi/isci/ |
H A D | task.h | 99 static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf) argument 101 if (SAS_PROTOCOL_SATA == tmf->proto) 104 "tmf->resp.d2h_fis.status = %x\n" 105 "tmf->resp.d2h_fis.error = %x\n", 107 tmf->status, 108 tmf->resp.d2h_fis.status, 109 tmf->resp.d2h_fis.error); 113 "tmf->resp.resp_iu.data_present = %x\n" 114 "tmf->resp.resp_iu.status = %x\n" 115 "tmf [all...] |
H A D | task.c | 254 struct isci_tmf *tmf, unsigned long timeout_ms) 288 tmf->complete = &completion; 289 tmf->status = SCI_FAILURE_TIMEOUT; 291 ireq = isci_task_request_build(ihost, idev, tag, tmf); 325 isci_print_tmf(ihost, tmf); 327 if (tmf->status == SCI_SUCCESS) 329 else if (tmf->status == SCI_FAILURE_IO_RESPONSE_VALID) { 331 "%s: tmf.status == " 353 static void isci_task_build_tmf(struct isci_tmf *tmf, argument 356 memset(tmf, 252 isci_task_execute_tmf(struct isci_host *ihost, struct isci_remote_device *idev, struct isci_tmf *tmf, unsigned long timeout_ms) argument 360 isci_task_build_abort_task_tmf(struct isci_tmf *tmf, enum isci_tmf_function_codes code, struct isci_request *old_request) argument 380 struct isci_tmf tmf; local 480 struct isci_tmf tmf; local 674 struct isci_tmf *tmf = isci_request_access_tmf(ireq); local [all...] |
H A D | request.h | 135 struct ssp_task_iu tmf; member in union:isci_request::__anon2418::__anon2419::__anon2420
|
/linux-master/drivers/vhost/ |
H A D | scsi.c | 353 static void vhost_scsi_release_tmf_res(struct vhost_scsi_tmf *tmf) argument 355 struct vhost_scsi_inflight *inflight = tmf->inflight; 357 kfree(tmf); 364 struct vhost_scsi_tmf *tmf = container_of(se_cmd, local 366 struct vhost_virtqueue *vq = &tmf->svq->vq; 368 vhost_vq_work_queue(vq, &tmf->vwork); 401 struct vhost_scsi_tmf *tmf = container_of(se_cmd, struct vhost_scsi_tmf, local 404 tmf->scsi_resp = se_cmd->se_tmr_req->response; 405 transport_generic_free_cmd(&tmf->se_cmd, 0); 1271 struct vhost_scsi_tmf *tmf local 1308 struct vhost_scsi_tmf *tmf; local 1375 struct virtio_scsi_ctrl_tmf_req tmf; member in union:__anon140 [all...] |
/linux-master/drivers/scsi/aacraid/ |
H A D | linit.c | 696 struct aac_hba_tm_req *tmf; local 722 tmf = (struct aac_hba_tm_req *)fib->hw_fib_va; 723 memset(tmf, 0, sizeof(*tmf)); 724 tmf->tmf = HBA_TMF_ABORT_TASK; 725 tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus; 726 tmf->lun[1] = cmd->device->lun; 729 tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32)); 730 tmf 828 struct aac_hba_tm_req *tmf; local [all...] |
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_lio.h | 25 io->tgt_io.tmf, ##__VA_ARGS__) 114 u8 tmf; member in struct:efct_scsi_tgt_io
|
/linux-master/drivers/scsi/snic/ |
H A D | snic_scsi.c | 1288 u32 tmf, 1311 tmf); 1324 tmf, sc, rqi, req_id, snic_cmd_tag(sc), ret); 1328 tmf, sc, rqi, req_id, snic_cmd_tag(sc)); 1337 int tmf) 1350 tmf, rqi, tag); 1353 if (tmf == SNIC_ITMF_LUN_RESET) { 1367 ret = snic_queue_itmf_req(snic, tmreq, sc, tmf, req_id); 1373 tmf, sc, rqi, req_id, tag, ret); 1377 tmf, s 1285 snic_queue_itmf_req(struct snic *snic, struct snic_host_req *tmreq, struct scsi_cmnd *sc, u32 tmf, u32 req_id) argument 1334 snic_issue_tm_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) argument 1389 snic_queue_abort_req(struct snic *snic, struct snic_req_info *rqi, struct scsi_cmnd *sc, int tmf) argument 1492 int ret = 0, tmf = 0, tag = snic_cmd_tag(sc); local 1711 u32 sv_state = 0, tmf = 0; local 2497 snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf) argument 2589 int ret = 0, tag, abt_cnt = 0, tmf = 0; local [all...] |
/linux-master/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 250 ASD_DPRINTK("tmf timed out\n"); 273 ASD_DPRINTK("tmf resp tasklet\n"); 310 ASD_DPRINTK("tmf tasklet complete\n"); 444 scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK; 460 ASD_DPRINTK("tmf came back\n"); 545 * @tmf: the TMF to be performed (see sas_task.h or the SAS spec) 557 int tmf, int index) 577 if (tmf == TMF_QUERY_TASK) 593 scb->ssp_tmf.ssp_task.tmf = tmf; 556 asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, int tmf, int index) argument [all...] |
/linux-master/drivers/scsi/ |
H A D | virtio_scsi.c | 52 struct virtio_scsi_ctrl_tmf_req tmf; member in union:virtio_scsi_cmd::__anon32 57 struct virtio_scsi_ctrl_tmf_resp tmf; member in union:virtio_scsi_cmd::__anon33 621 sizeof cmd->req.tmf, sizeof cmd->resp.tmf, true) < 0) 625 if (cmd->resp.tmf.response == VIRTIO_SCSI_S_OK || 626 cmd->resp.tmf.response == VIRTIO_SCSI_S_FUNCTION_SUCCEEDED) 656 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){ 714 cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){
|
H A D | libiscsi.c | 246 struct iscsi_tm *tmf = &session->tmhdr; local 252 if ((tmf->opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_SCSI_TMFUNC) 255 switch (ISCSI_TM_FUNC_VALUE(tmf)) { 260 hdr_lun = scsilun_to_int(&tmf->lun); 293 task->hdr_itt == tmf->rtt) { 998 struct iscsi_tm_rsp *tmf = (struct iscsi_tm_rsp *)hdr; local 1007 if (tmf->response == ISCSI_TMF_RSP_COMPLETE) 1009 else if (tmf->response == ISCSI_TMF_RSP_NO_TASK) 1906 ISCSI_DBG_EH(session, "tmf timedout\n"); 1930 ISCSI_DBG_EH(session, "tmf se [all...] |
/linux-master/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 978 struct sas_tmf_task *tmf) 1005 task->tmf = tmf; 1095 struct sas_tmf_task *tmf) 1104 return sas_execute_tmf(device, &ssp_task, sizeof(ssp_task), -1, tmf); 1110 .tmf = TMF_ABORT_TASK_SET, 1120 .tmf = TMF_CLEAR_TASK_SET, 1130 .tmf = TMF_LU_RESET, 1140 .tmf = TMF_QUERY_TASK, 1156 .tmf 976 sas_execute_tmf(struct domain_device *device, void *parameter, int para_len, int force_phy_id, struct sas_tmf_task *tmf) argument 1094 sas_execute_ssp_tmf(struct domain_device *device, u8 *lun, struct sas_tmf_task *tmf) argument [all...] |
H A D | sas_internal.h | 111 struct sas_tmf_task *tmf);
|
/linux-master/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 2064 struct ibmvfc_tmf *tmf; local 2085 tmf = &evt->iu.tmf; 2086 memset(tmf, 0, sizeof(*tmf)); 2087 tmf->common.version = cpu_to_be32(1); 2088 tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD); 2089 tmf->common.length = cpu_to_be16(sizeof(*tmf)); 2090 tmf 2340 struct ibmvfc_cmd *tmf; local 2561 struct ibmvfc_tmf *tmf; local 2811 struct ibmvfc_cmd *tmf; local 4630 struct ibmvfc_tmf *tmf; local [all...] |
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v1_hw.c | 961 struct sas_tmf_task *tmf = slot->tmf; local 962 int has_data = 0, priority = !!tmf; 976 if (tmf) { 997 if (tmf) { 1024 if (!tmf) { 1029 buf_cmd[10] = tmf->tmf; 1030 switch (tmf->tmf) { [all...] |
H A D | hisi_sas_v2_hw.c | 1745 struct sas_tmf_task *tmf = slot->tmf; local 1746 int has_data = 0, priority = !!tmf; 1757 if (tmf) { 1800 if (!tmf) { 1805 buf_cmd[10] = tmf->tmf; 1806 switch (tmf->tmf) { 1810 (tmf 2503 struct sas_tmf_task *tmf = slot->tmf; local [all...] |
H A D | hisi_sas_v3_hw.c | 1267 struct sas_tmf_task *tmf = slot->tmf; local 1268 int has_data = 0, priority = !!tmf; 1280 if (tmf) { 1327 if (!tmf) { 1331 buf_cmd[10] = tmf->tmf; 1332 switch (tmf->tmf) { 1336 (tmf [all...] |
H A D | hisi_sas.h | 252 struct sas_tmf_task *tmf; member in struct:hisi_sas_slot
|
/linux-master/drivers/scsi/pm8001/ |
H A D | pm8001_sas.c | 356 * @tmf: the task management IU 359 struct pm8001_ccb_info *ccb, struct sas_tmf_task *tmf) 361 return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf); 401 struct sas_tmf_task *tmf = task->tmf; local 402 int is_tmf = !!tmf; 409 return pm8001_task_prep_ssp_tm(pm8001_ha, ccb, tmf); 358 pm8001_task_prep_ssp_tm(struct pm8001_hba_info *pm8001_ha, struct pm8001_ccb_info *ccb, struct sas_tmf_task *tmf) argument
|
H A D | pm8001_sas.h | 202 struct pm8001_ccb_info *ccb, struct sas_tmf_task *tmf); 675 struct sas_tmf_task *tmf);
|
H A D | pm8001_hwi.h | 536 __le32 tmf; member in struct:ssp_ini_tm_start_req
|
/linux-master/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 555 struct sas_tmf_task *tmf) 670 buf_cmd[10] = tmf->tmf; 671 switch (tmf->tmf) { 675 (tmf->tag_of_task_to_be_managed >> 8) & 0xff; 677 tmf->tag_of_task_to_be_managed & 0xff; 690 struct sas_tmf_task *tmf, int *pass) 726 if (tei.port && !tei.port->port_attached && !tmf) { 792 rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf); 553 mvs_task_prep_ssp(struct mvs_info *mvi, struct mvs_task_exec_info *tei, int is_tmf, struct sas_tmf_task *tmf) argument 689 mvs_task_prep(struct sas_task *task, struct mvs_info *mvi, int is_tmf, struct sas_tmf_task *tmf, int *pass) argument 843 struct sas_tmf_task *tmf = task->tmf; local [all...] |
/linux-master/include/scsi/ |
H A D | sas.h | 372 u8 tmf; member in struct:ssp_tmf_iu 593 u8 tmf; member in struct:ssp_tmf_iu
|
H A D | libsas.h | 567 u8 tmf; member in struct:sas_tmf_task 597 struct sas_tmf_task *tmf; member in struct:sas_task
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_init.c | 2006 struct srb_iocb *tmf = &sp->u.iocb_cmd; local 2025 tmf->u.tmf.comp_status = cpu_to_le16(CS_TIMEOUT); 2026 tmf->u.tmf.data = QLA_FUNCTION_FAILED; 2027 complete(&tmf->u.tmf.comp); 2033 struct srb_iocb *tmf = &sp->u.iocb_cmd; local 2038 sp->handle, sp->fcport->d_id.b24, sp->u.iocb_cmd.u.tmf.flags, 2039 sp->u.iocb_cmd.u.tmf 2137 struct srb_iocb *tmf = &sp->u.iocb_cmd; local [all...] |
/linux-master/drivers/target/ |
H A D | target_core_transport.c | 3127 static const char *target_tmf_name(enum tcm_tmreq_table tmf) argument 3129 switch (tmf) { 3147 struct se_tmr_req *tmf = cmd->se_tmr_req; local 3158 pfx, target_tmf_name(tmf->function), cmd->tag, 3159 tmf->ref_task_tag, cmd->se_tfo->get_cmd_state(cmd),
|