tmf               240 drivers/scsi/aacraid/aacraid.h 	u8	tmf;		/* Task management function */
tmf               683 drivers/scsi/aacraid/linit.c 		struct aac_hba_tm_req *tmf;
tmf               709 drivers/scsi/aacraid/linit.c 		tmf = (struct aac_hba_tm_req *)fib->hw_fib_va;
tmf               710 drivers/scsi/aacraid/linit.c 		memset(tmf, 0, sizeof(*tmf));
tmf               711 drivers/scsi/aacraid/linit.c 		tmf->tmf = HBA_TMF_ABORT_TASK;
tmf               712 drivers/scsi/aacraid/linit.c 		tmf->it_nexus = aac->hba_map[bus][cid].rmw_nexus;
tmf               713 drivers/scsi/aacraid/linit.c 		tmf->lun[1] = cmd->device->lun;
tmf               716 drivers/scsi/aacraid/linit.c 		tmf->error_ptr_hi = cpu_to_le32((u32)(address >> 32));
tmf               717 drivers/scsi/aacraid/linit.c 		tmf->error_ptr_lo = cpu_to_le32((u32)(address & 0xffffffff));
tmf               718 drivers/scsi/aacraid/linit.c 		tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE);
tmf               720 drivers/scsi/aacraid/linit.c 		fib->hbacmd_size = sizeof(*tmf);
tmf               811 drivers/scsi/aacraid/linit.c 	struct aac_hba_tm_req *tmf;
tmf               815 drivers/scsi/aacraid/linit.c 	tmf = (struct aac_hba_tm_req *)fib->hw_fib_va;
tmf               816 drivers/scsi/aacraid/linit.c 	memset(tmf, 0, sizeof(*tmf));
tmf               817 drivers/scsi/aacraid/linit.c 	tmf->tmf = HBA_TMF_LUN_RESET;
tmf               818 drivers/scsi/aacraid/linit.c 	tmf->it_nexus = info->rmw_nexus;
tmf               819 drivers/scsi/aacraid/linit.c 	int_to_scsilun(tmf_lun, (struct scsi_lun *)tmf->lun);
tmf               822 drivers/scsi/aacraid/linit.c 	tmf->error_ptr_hi = cpu_to_le32
tmf               824 drivers/scsi/aacraid/linit.c 	tmf->error_ptr_lo = cpu_to_le32
tmf               826 drivers/scsi/aacraid/linit.c 	tmf->error_length = cpu_to_le32(FW_ERROR_BUFFER_SIZE);
tmf               827 drivers/scsi/aacraid/linit.c 	fib->hbacmd_size = sizeof(*tmf);
tmf               444 drivers/scsi/aic94xx/aic94xx_tmf.c 		scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK;
tmf               557 drivers/scsi/aic94xx/aic94xx_tmf.c 				int tmf, int index)
tmf               577 drivers/scsi/aic94xx/aic94xx_tmf.c 	if (tmf == TMF_QUERY_TASK)
tmf               593 drivers/scsi/aic94xx/aic94xx_tmf.c 	scb->ssp_tmf.ssp_task.tmf = tmf;
tmf               600 drivers/scsi/aic94xx/aic94xx_tmf.c 	if (tmf == TMF_QUERY_TASK)
tmf              1395 drivers/scsi/bnx2i/57xx_iscsi_hsi.h 	struct bnx2i_tmf_request tmf;
tmf              1516 drivers/scsi/bnx2i/57xx_iscsi_hsi.h 	struct bnx2i_tmf_response tmf;
tmf               210 drivers/scsi/hisi_sas/hisi_sas.h 	u8 tmf;
tmf               232 drivers/scsi/hisi_sas/hisi_sas.h 	struct hisi_sas_tmf_task *tmf;
tmf                14 drivers/scsi/hisi_sas/hisi_sas_main.c 				u8 *lun, struct hisi_sas_tmf_task *tmf);
tmf               411 drivers/scsi/hisi_sas/hisi_sas_main.c 			      bool is_tmf, struct hisi_sas_tmf_task *tmf,
tmf               513 drivers/scsi/hisi_sas/hisi_sas_main.c 	slot->tmf = tmf;
tmf               561 drivers/scsi/hisi_sas/hisi_sas_main.c 			      bool is_tmf, struct hisi_sas_tmf_task *tmf)
tmf               604 drivers/scsi/hisi_sas/hisi_sas_main.c 	rc = hisi_sas_task_prep(task, &dq, is_tmf, tmf, &pass);
tmf               707 drivers/scsi/hisi_sas/hisi_sas_main.c 		tmf_task.tmf = TMF_CLEAR_TASK_SET;
tmf              1183 drivers/scsi/hisi_sas/hisi_sas_main.c 					   struct hisi_sas_tmf_task *tmf)
tmf              1211 drivers/scsi/hisi_sas/hisi_sas_main.c 		res = hisi_sas_task_exec(task, GFP_KERNEL, 1, tmf);
tmf              1350 drivers/scsi/hisi_sas/hisi_sas_main.c 				u8 *lun, struct hisi_sas_tmf_task *tmf)
tmf              1360 drivers/scsi/hisi_sas/hisi_sas_main.c 				sizeof(ssp_task), tmf);
tmf              1645 drivers/scsi/hisi_sas/hisi_sas_main.c 		tmf_task.tmf = TMF_ABORT_TASK;
tmf              1722 drivers/scsi/hisi_sas/hisi_sas_main.c 	tmf_task.tmf = TMF_ABORT_TASK_SET;
tmf              1736 drivers/scsi/hisi_sas/hisi_sas_main.c 	tmf_task.tmf = TMF_CLEAR_ACA;
tmf              1854 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct hisi_sas_tmf_task tmf_task = { .tmf =  TMF_LU_RESET };
tmf              1911 drivers/scsi/hisi_sas/hisi_sas_main.c 		tmf_task.tmf = TMF_QUERY_TASK;
tmf               959 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
tmf               960 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	int has_data = 0, priority = !!tmf;
tmf               974 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	if (tmf) {
tmf               995 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	if (tmf) {
tmf              1026 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	if (!tmf) {
tmf              1032 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		buf_cmd[10] = tmf->tmf;
tmf              1033 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		switch (tmf->tmf) {
tmf              1037 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				(tmf->tag_of_task_to_be_managed >> 8) & 0xff;
tmf              1039 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 				tmf->tag_of_task_to_be_managed & 0xff;
tmf              1740 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
tmf              1741 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	int has_data = 0, priority = !!tmf;
tmf              1752 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	if (tmf) {
tmf              1795 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	if (!tmf) {
tmf              1801 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		buf_cmd[10] = tmf->tmf;
tmf              1802 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		switch (tmf->tmf) {
tmf              1806 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				(tmf->tag_of_task_to_be_managed >> 8) & 0xff;
tmf              1808 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 				tmf->tag_of_task_to_be_managed & 0xff;
tmf              2492 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
tmf              2505 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	if (tmf && tmf->force_phy) {
tmf              2507 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		dw0 |= (1 << tmf->phy_id) << CMD_HDR_PHY_ID_OFF;
tmf              1177 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct hisi_sas_tmf_task *tmf = slot->tmf;
tmf              1178 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	int has_data = 0, priority = !!tmf;
tmf              1190 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	if (tmf) {
tmf              1237 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	if (!tmf) {
tmf              1241 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		buf_cmd[10] = tmf->tmf;
tmf              1242 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		switch (tmf->tmf) {
tmf              1246 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				(tmf->tag_of_task_to_be_managed >> 8) & 0xff;
tmf              1248 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 				tmf->tag_of_task_to_be_managed & 0xff;
tmf               612 drivers/scsi/hpsa_cmd.h 	u8 tmf;			/* Task Management Function */
tmf              1701 drivers/scsi/ibmvscsi/ibmvfc.c 	struct ibmvfc_tmf *tmf;
tmf              1717 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf = &evt->iu.tmf;
tmf              1718 drivers/scsi/ibmvscsi/ibmvfc.c 	memset(tmf, 0, sizeof(*tmf));
tmf              1719 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.version = cpu_to_be32(1);
tmf              1720 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD);
tmf              1721 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.length = cpu_to_be16(sizeof(*tmf));
tmf              1722 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->scsi_id = cpu_to_be64(port_id);
tmf              1723 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->cancel_key = cpu_to_be32(IBMVFC_PASSTHRU_CANCEL_KEY);
tmf              1724 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->my_cancel_key = cpu_to_be32(IBMVFC_INTERNAL_CANCEL_KEY);
tmf              1963 drivers/scsi/ibmvscsi/ibmvfc.c 	struct ibmvfc_cmd *tmf;
tmf              1976 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf = &evt->iu.cmd;
tmf              1977 drivers/scsi/ibmvscsi/ibmvfc.c 		memset(tmf, 0, sizeof(*tmf));
tmf              1978 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp));
tmf              1979 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp.len = cpu_to_be32(sizeof(tmf->rsp));
tmf              1980 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->frame_type = cpu_to_be32(IBMVFC_SCSI_FCP_TYPE);
tmf              1981 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->payload_len = cpu_to_be32(sizeof(tmf->iu));
tmf              1982 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp_len = cpu_to_be32(sizeof(tmf->rsp));
tmf              1983 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata);
tmf              1984 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->tgt_scsi_id = cpu_to_be64(rport->port_id);
tmf              1985 drivers/scsi/ibmvscsi/ibmvfc.c 		int_to_scsilun(sdev->lun, &tmf->iu.lun);
tmf              1986 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->flags = cpu_to_be16((IBMVFC_NO_MEM_DESC | IBMVFC_TMF));
tmf              1987 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->iu.tmf_flags = type;
tmf              2147 drivers/scsi/ibmvscsi/ibmvfc.c 	struct ibmvfc_tmf *tmf;
tmf              2175 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf = &evt->iu.tmf;
tmf              2176 drivers/scsi/ibmvscsi/ibmvfc.c 		memset(tmf, 0, sizeof(*tmf));
tmf              2177 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->common.version = cpu_to_be32(1);
tmf              2178 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD);
tmf              2179 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->common.length = cpu_to_be16(sizeof(*tmf));
tmf              2180 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->scsi_id = cpu_to_be64(rport->port_id);
tmf              2181 drivers/scsi/ibmvscsi/ibmvfc.c 		int_to_scsilun(sdev->lun, &tmf->lun);
tmf              2185 drivers/scsi/ibmvscsi/ibmvfc.c 			tmf->flags = cpu_to_be32((type | IBMVFC_TMF_LUA_VALID));
tmf              2187 drivers/scsi/ibmvscsi/ibmvfc.c 			tmf->flags = cpu_to_be32(((type & IBMVFC_TMF_SUPPRESS_ABTS) | IBMVFC_TMF_LUA_VALID));
tmf              2188 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata);
tmf              2189 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->my_cancel_key = cpu_to_be32((unsigned long)starget->hostdata);
tmf              2278 drivers/scsi/ibmvscsi/ibmvfc.c 	struct ibmvfc_cmd *tmf;
tmf              2306 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf = &evt->iu.cmd;
tmf              2307 drivers/scsi/ibmvscsi/ibmvfc.c 		memset(tmf, 0, sizeof(*tmf));
tmf              2308 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp));
tmf              2309 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp.len = cpu_to_be32(sizeof(tmf->rsp));
tmf              2310 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->frame_type = cpu_to_be32(IBMVFC_SCSI_FCP_TYPE);
tmf              2311 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->payload_len = cpu_to_be32(sizeof(tmf->iu));
tmf              2312 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->resp_len = cpu_to_be32(sizeof(tmf->rsp));
tmf              2313 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->cancel_key = cpu_to_be32((unsigned long)sdev->hostdata);
tmf              2314 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->tgt_scsi_id = cpu_to_be64(rport->port_id);
tmf              2315 drivers/scsi/ibmvscsi/ibmvfc.c 		int_to_scsilun(sdev->lun, &tmf->iu.lun);
tmf              2316 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->flags = cpu_to_be16((IBMVFC_NO_MEM_DESC | IBMVFC_TMF));
tmf              2317 drivers/scsi/ibmvscsi/ibmvfc.c 		tmf->iu.tmf_flags = IBMVFC_ABORT_TASK_SET;
tmf              3688 drivers/scsi/ibmvscsi/ibmvfc.c 	struct ibmvfc_tmf *tmf;
tmf              3708 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf = &evt->iu.tmf;
tmf              3709 drivers/scsi/ibmvscsi/ibmvfc.c 	memset(tmf, 0, sizeof(*tmf));
tmf              3710 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.version = cpu_to_be32(1);
tmf              3711 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.opcode = cpu_to_be32(IBMVFC_TMF_MAD);
tmf              3712 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->common.length = cpu_to_be16(sizeof(*tmf));
tmf              3713 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->scsi_id = cpu_to_be64(tgt->scsi_id);
tmf              3714 drivers/scsi/ibmvscsi/ibmvfc.c 	tmf->cancel_key = cpu_to_be32(tgt->cancel_key);
tmf               590 drivers/scsi/ibmvscsi/ibmvfc.h 	struct ibmvfc_tmf tmf;
tmf               197 drivers/scsi/isci/request.c 	task_iu = &ireq->ssp.tmf;
tmf               677 drivers/scsi/isci/request.c 		struct isci_tmf *tmf = isci_request_access_tmf(ireq);
tmf               682 drivers/scsi/isci/request.c 			__func__, ireq, tmf->tmf_code);
tmf               135 drivers/scsi/isci/request.h 				struct ssp_task_iu tmf;
tmf               258 drivers/scsi/isci/task.c 				 struct isci_tmf *tmf, unsigned long timeout_ms)
tmf               292 drivers/scsi/isci/task.c 	tmf->complete = &completion;
tmf               293 drivers/scsi/isci/task.c 	tmf->status = SCI_FAILURE_TIMEOUT;
tmf               295 drivers/scsi/isci/task.c 	ireq = isci_task_request_build(ihost, idev, tag, tmf);
tmf               329 drivers/scsi/isci/task.c 	isci_print_tmf(ihost, tmf);
tmf               331 drivers/scsi/isci/task.c 	if (tmf->status == SCI_SUCCESS)
tmf               333 drivers/scsi/isci/task.c 	else if (tmf->status == SCI_FAILURE_IO_RESPONSE_VALID) {
tmf               357 drivers/scsi/isci/task.c static void isci_task_build_tmf(struct isci_tmf *tmf,
tmf               360 drivers/scsi/isci/task.c 	memset(tmf, 0, sizeof(*tmf));
tmf               361 drivers/scsi/isci/task.c 	tmf->tmf_code = code;
tmf               364 drivers/scsi/isci/task.c static void isci_task_build_abort_task_tmf(struct isci_tmf *tmf,
tmf               368 drivers/scsi/isci/task.c 	isci_task_build_tmf(tmf, code);
tmf               369 drivers/scsi/isci/task.c 	tmf->io_tag = old_request->io_tag;
tmf               384 drivers/scsi/isci/task.c 	struct isci_tmf tmf;
tmf               395 drivers/scsi/isci/task.c 	isci_task_build_tmf(&tmf, isci_tmf_ssp_lun_reset);
tmf               398 drivers/scsi/isci/task.c 	ret = isci_task_execute_tmf(isci_host, isci_device, &tmf, ISCI_LU_RESET_TIMEOUT_MS);
tmf               484 drivers/scsi/isci/task.c 	struct isci_tmf           tmf;
tmf               592 drivers/scsi/isci/task.c 		isci_task_build_abort_task_tmf(&tmf, isci_tmf_ssp_task_abort,
tmf               599 drivers/scsi/isci/task.c 		ret = isci_task_execute_tmf(ihost, idev, &tmf,
tmf               700 drivers/scsi/isci/task.c 	struct isci_tmf *tmf = isci_request_access_tmf(ireq);
tmf               709 drivers/scsi/isci/task.c 	if (tmf) {
tmf               710 drivers/scsi/isci/task.c 		tmf->status = completion_status;
tmf               712 drivers/scsi/isci/task.c 		if (tmf->proto == SAS_PROTOCOL_SSP) {
tmf               713 drivers/scsi/isci/task.c 			memcpy(&tmf->resp.resp_iu,
tmf               716 drivers/scsi/isci/task.c 		} else if (tmf->proto == SAS_PROTOCOL_SATA) {
tmf               717 drivers/scsi/isci/task.c 			memcpy(&tmf->resp.d2h_fis,
tmf               722 drivers/scsi/isci/task.c 		tmf_complete = tmf->complete;
tmf                99 drivers/scsi/isci/task.h static inline void isci_print_tmf(struct isci_host *ihost, struct isci_tmf *tmf)
tmf               101 drivers/scsi/isci/task.h 	if (SAS_PROTOCOL_SATA == tmf->proto)
tmf               107 drivers/scsi/isci/task.h 			tmf->status,
tmf               108 drivers/scsi/isci/task.h 			tmf->resp.d2h_fis.status,
tmf               109 drivers/scsi/isci/task.h 			tmf->resp.d2h_fis.error);
tmf               121 drivers/scsi/isci/task.h 			tmf->status,
tmf               122 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.datapres,
tmf               123 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.status,
tmf               124 drivers/scsi/isci/task.h 			be32_to_cpu(tmf->resp.resp_iu.response_data_len),
tmf               125 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.resp_data[0],
tmf               126 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.resp_data[1],
tmf               127 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.resp_data[2],
tmf               128 drivers/scsi/isci/task.h 			tmf->resp.resp_iu.resp_data[3]);
tmf               234 drivers/scsi/libiscsi.c 	struct iscsi_tm *tmf = &conn->tmhdr;
tmf               240 drivers/scsi/libiscsi.c 	if ((tmf->opcode & ISCSI_OPCODE_MASK) != ISCSI_OP_SCSI_TMFUNC)
tmf               243 drivers/scsi/libiscsi.c 	switch (ISCSI_TM_FUNC_VALUE(tmf)) {
tmf               248 drivers/scsi/libiscsi.c 		hdr_lun = scsilun_to_int(&tmf->lun);
tmf               286 drivers/scsi/libiscsi.c 		    task->hdr_itt == tmf->rtt) {
tmf               922 drivers/scsi/libiscsi.c 	struct iscsi_tm_rsp *tmf = (struct iscsi_tm_rsp *)hdr;
tmf               930 drivers/scsi/libiscsi.c 	if (tmf->response == ISCSI_TMF_RSP_COMPLETE)
tmf               932 drivers/scsi/libiscsi.c 	else if (tmf->response == ISCSI_TMF_RSP_NO_TASK)
tmf               491 drivers/scsi/mvsas/mv_defs.h 	u8 tmf;
tmf               556 drivers/scsi/mvsas/mv_sas.c 			     struct mvs_tmf_task *tmf)
tmf               676 drivers/scsi/mvsas/mv_sas.c 		buf_cmd[10] = tmf->tmf;
tmf               677 drivers/scsi/mvsas/mv_sas.c 		switch (tmf->tmf) {
tmf               681 drivers/scsi/mvsas/mv_sas.c 				(tmf->tag_of_task_to_be_managed >> 8) & 0xff;
tmf               683 drivers/scsi/mvsas/mv_sas.c 				tmf->tag_of_task_to_be_managed & 0xff;
tmf               696 drivers/scsi/mvsas/mv_sas.c 				struct mvs_tmf_task *tmf, int *pass)
tmf               731 drivers/scsi/mvsas/mv_sas.c 	if (tei.port && !tei.port->port_attached && !tmf) {
tmf               792 drivers/scsi/mvsas/mv_sas.c 		rc = mvs_task_prep_ssp(mvi, &tei, is_tmf, tmf);
tmf               842 drivers/scsi/mvsas/mv_sas.c 				struct mvs_tmf_task *tmf)
tmf               852 drivers/scsi/mvsas/mv_sas.c 	rc = mvs_task_prep(task, mvi, is_tmf, tmf, &pass);
tmf              1280 drivers/scsi/mvsas/mv_sas.c 			void *parameter, u32 para_len, struct mvs_tmf_task *tmf)
tmf              1300 drivers/scsi/mvsas/mv_sas.c 		res = mvs_task_exec(task, GFP_KERNEL, NULL, 1, tmf);
tmf              1313 drivers/scsi/mvsas/mv_sas.c 				mv_printk("TMF task[%x] timeout.\n", tmf->tmf);
tmf              1355 drivers/scsi/mvsas/mv_sas.c 				u8 *lun, struct mvs_tmf_task *tmf)
tmf              1364 drivers/scsi/mvsas/mv_sas.c 				sizeof(ssp_task), tmf);
tmf              1391 drivers/scsi/mvsas/mv_sas.c 	tmf_task.tmf = TMF_LU_RESET;
tmf              1447 drivers/scsi/mvsas/mv_sas.c 		tmf_task.tmf = TMF_QUERY_TASK;
tmf              1502 drivers/scsi/mvsas/mv_sas.c 		tmf_task.tmf = TMF_ABORT_TASK;
tmf              1547 drivers/scsi/mvsas/mv_sas.c 	tmf_task.tmf = TMF_ABORT_TASK_SET;
tmf              1558 drivers/scsi/mvsas/mv_sas.c 	tmf_task.tmf = TMF_CLEAR_ACA;
tmf              1569 drivers/scsi/mvsas/mv_sas.c 	tmf_task.tmf = TMF_CLEAR_TASK_SET;
tmf              4713 drivers/scsi/pm8001/pm8001_hwi.c 	struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf)
tmf              4725 drivers/scsi/pm8001/pm8001_hwi.c 	sspTMCmd.relate_tag = cpu_to_le32(tmf->tag_of_task_to_be_managed);
tmf              4726 drivers/scsi/pm8001/pm8001_hwi.c 	sspTMCmd.tmf = cpu_to_le32(tmf->tmf);
tmf               541 drivers/scsi/pm8001/pm8001_hwi.h 	__le32	tmf;
tmf               334 drivers/scsi/pm8001/pm8001_sas.c 	struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf)
tmf               336 drivers/scsi/pm8001/pm8001_sas.c 	return PM8001_CHIP_DISP->ssp_tm_req(pm8001_ha, ccb, tmf);
tmf               379 drivers/scsi/pm8001/pm8001_sas.c 	gfp_t gfp_flags, int is_tmf, struct pm8001_tmf_task *tmf)
tmf               462 drivers/scsi/pm8001/pm8001_sas.c 					ccb, tmf);
tmf               710 drivers/scsi/pm8001/pm8001_sas.c 	void *parameter, u32 para_len, struct pm8001_tmf_task *tmf)
tmf               731 drivers/scsi/pm8001/pm8001_sas.c 		res = pm8001_task_exec(task, GFP_KERNEL, 1, tmf);
tmf               753 drivers/scsi/pm8001/pm8001_sas.c 					tmf->tmf));
tmf               911 drivers/scsi/pm8001/pm8001_sas.c 	u8 *lun, struct pm8001_tmf_task *tmf)
tmf               919 drivers/scsi/pm8001/pm8001_sas.c 		tmf);
tmf              1127 drivers/scsi/pm8001/pm8001_sas.c 		tmf_task.tmf = TMF_LU_RESET;
tmf              1163 drivers/scsi/pm8001/pm8001_sas.c 		tmf_task.tmf = 	TMF_QUERY_TASK;
tmf              1224 drivers/scsi/pm8001/pm8001_sas.c 		tmf_task.tmf = TMF_ABORT_TASK;
tmf              1313 drivers/scsi/pm8001/pm8001_sas.c 	tmf_task.tmf = TMF_ABORT_TASK_SET;
tmf              1321 drivers/scsi/pm8001/pm8001_sas.c 	tmf_task.tmf = TMF_CLEAR_ACA;
tmf              1334 drivers/scsi/pm8001/pm8001_sas.c 	tmf_task.tmf = TMF_CLEAR_TASK_SET;
tmf               122 drivers/scsi/pm8001/pm8001_sas.h 	u8	tmf;
tmf               221 drivers/scsi/pm8001/pm8001_sas.h 		struct pm8001_ccb_info *ccb, struct pm8001_tmf_task *tmf);
tmf               684 drivers/scsi/pm8001/pm8001_sas.h 				struct pm8001_tmf_task *tmf);
tmf               770 drivers/scsi/pm8001/pm80xx_hwi.h 	__le32	tmf;
tmf               484 drivers/scsi/qla2xxx/qla_def.h 		} tmf;
tmf              1767 drivers/scsi/qla2xxx/qla_init.c 	struct srb_iocb *tmf = &sp->u.iocb_cmd;
tmf              1769 drivers/scsi/qla2xxx/qla_init.c 	tmf->u.tmf.comp_status = CS_TIMEOUT;
tmf              1770 drivers/scsi/qla2xxx/qla_init.c 	complete(&tmf->u.tmf.comp);
tmf              1775 drivers/scsi/qla2xxx/qla_init.c 	struct srb_iocb *tmf = &sp->u.iocb_cmd;
tmf              1777 drivers/scsi/qla2xxx/qla_init.c 	complete(&tmf->u.tmf.comp);
tmf              1798 drivers/scsi/qla2xxx/qla_init.c 	init_completion(&tm_iocb->u.tmf.comp);
tmf              1801 drivers/scsi/qla2xxx/qla_init.c 	tm_iocb->u.tmf.flags = flags;
tmf              1802 drivers/scsi/qla2xxx/qla_init.c 	tm_iocb->u.tmf.lun = lun;
tmf              1803 drivers/scsi/qla2xxx/qla_init.c 	tm_iocb->u.tmf.data = tag;
tmf              1814 drivers/scsi/qla2xxx/qla_init.c 	wait_for_completion(&tm_iocb->u.tmf.comp);
tmf              1816 drivers/scsi/qla2xxx/qla_init.c 	rval = tm_iocb->u.tmf.data;
tmf              1824 drivers/scsi/qla2xxx/qla_init.c 		flags = tm_iocb->u.tmf.flags;
tmf              1825 drivers/scsi/qla2xxx/qla_init.c 		lun = (uint16_t)tm_iocb->u.tmf.lun;
tmf              2487 drivers/scsi/qla2xxx/qla_iocb.c 	flags = iocb->u.tmf.flags;
tmf              2488 drivers/scsi/qla2xxx/qla_iocb.c 	lun = iocb->u.tmf.lun;
tmf              1828 drivers/scsi/qla2xxx/qla_isr.c 	iocb->u.tmf.data = QLA_SUCCESS;
tmf              1834 drivers/scsi/qla2xxx/qla_isr.c 		iocb->u.tmf.data = QLA_FUNCTION_FAILED;
tmf              1839 drivers/scsi/qla2xxx/qla_isr.c 		iocb->u.tmf.data = QLA_FUNCTION_FAILED;
tmf              1850 drivers/scsi/qla2xxx/qla_isr.c 			iocb->u.tmf.data = QLA_FUNCTION_FAILED;
tmf              1854 drivers/scsi/qla2xxx/qla_isr.c 	if (iocb->u.tmf.data != QLA_SUCCESS)
tmf              2180 drivers/scsi/qla2xxx/qla_mr.c 	struct srb_iocb *tmf;
tmf              2182 drivers/scsi/qla2xxx/qla_mr.c 	tmf = &sp->u.iocb_cmd;
tmf              2186 drivers/scsi/qla2xxx/qla_mr.c 	tmf->u.tmf.comp_status = cpstatus;
tmf              3212 drivers/scsi/qla2xxx/qla_mr.c 	tm_iocb.control_flags = cpu_to_le32(fxio->u.tmf.flags);
tmf              3214 drivers/scsi/qla2xxx/qla_mr.c 		int_to_scsilun(fxio->u.tmf.lun, &llun);
tmf              1310 drivers/scsi/snic/snic_scsi.c 		    u32 tmf,
tmf              1333 drivers/scsi/snic/snic_scsi.c 		       tmf);
tmf              1346 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, snic_cmd_tag(sc), ret);
tmf              1350 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, snic_cmd_tag(sc));
tmf              1359 drivers/scsi/snic/snic_scsi.c 		    int tmf)
tmf              1372 drivers/scsi/snic/snic_scsi.c 		      tmf, rqi, tag);
tmf              1375 drivers/scsi/snic/snic_scsi.c 	if (tmf == SNIC_ITMF_LUN_RESET) {
tmf              1389 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_itmf_req(snic, tmreq, sc, tmf, req_id);
tmf              1399 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, tag, ret);
tmf              1403 drivers/scsi/snic/snic_scsi.c 			      tmf, sc, rqi, req_id, tag);
tmf              1418 drivers/scsi/snic/snic_scsi.c 		     int tmf)
tmf              1421 drivers/scsi/snic/snic_scsi.c 		      sc, rqi, snic_cmd_tag(sc), tmf);
tmf              1426 drivers/scsi/snic/snic_scsi.c 	return snic_issue_tm_req(snic, rqi, sc, tmf);
tmf              1518 drivers/scsi/snic/snic_scsi.c 	int ret = 0, tmf = 0, tag = snic_cmd_tag(sc);
tmf              1522 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK_TERM;
tmf              1524 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK;
tmf              1582 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);
tmf              1602 drivers/scsi/snic/snic_scsi.c 	if (tmf == SNIC_ITMF_ABTS_TASK) {
tmf              1737 drivers/scsi/snic/snic_scsi.c 	u32 sv_state = 0, tmf = 0;
tmf              1801 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK_TERM;
tmf              1803 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK;
tmf              1806 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);
tmf              2531 drivers/scsi/snic/snic_scsi.c snic_internal_abort_io(struct snic *snic, struct scsi_cmnd *sc, int tmf)
tmf              2583 drivers/scsi/snic/snic_scsi.c 	ret = snic_queue_abort_req(snic, rqi, sc, tmf);
tmf              2623 drivers/scsi/snic/snic_scsi.c 	int ret = 0, tag, abt_cnt = 0, tmf = 0;
tmf              2632 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK;
tmf              2634 drivers/scsi/snic/snic_scsi.c 		tmf = SNIC_ITMF_ABTS_TASK_TERM;
tmf              2655 drivers/scsi/snic/snic_scsi.c 		ret = snic_internal_abort_io(snic, sc, tmf);
tmf                46 drivers/scsi/virtio_scsi.c 		struct virtio_scsi_ctrl_tmf_req  tmf;
tmf                51 drivers/scsi/virtio_scsi.c 		struct virtio_scsi_ctrl_tmf_resp tmf;
tmf               597 drivers/scsi/virtio_scsi.c 			      sizeof cmd->req.tmf, sizeof cmd->resp.tmf, true) < 0)
tmf               601 drivers/scsi/virtio_scsi.c 	if (cmd->resp.tmf.response == VIRTIO_SCSI_S_OK ||
tmf               602 drivers/scsi/virtio_scsi.c 	    cmd->resp.tmf.response == VIRTIO_SCSI_S_FUNCTION_SUCCEEDED)
tmf               633 drivers/scsi/virtio_scsi.c 	cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){
tmf               691 drivers/scsi/virtio_scsi.c 	cmd->req.tmf = (struct virtio_scsi_ctrl_tmf_req){
tmf              2891 drivers/target/target_core_transport.c static const char *target_tmf_name(enum tcm_tmreq_table tmf)
tmf              2893 drivers/target/target_core_transport.c 	switch (tmf) {
tmf              2910 drivers/target/target_core_transport.c 	struct se_tmr_req *tmf = cmd->se_tmr_req;
tmf              2921 drivers/target/target_core_transport.c 			 pfx, target_tmf_name(tmf->function), cmd->tag,
tmf              2922 drivers/target/target_core_transport.c 			 tmf->ref_task_tag, cmd->se_tfo->get_cmd_state(cmd),
tmf              1176 drivers/vhost/scsi.c 		struct virtio_scsi_ctrl_tmf_req tmf;
tmf              1220 drivers/vhost/scsi.c 			vc.req = &v_req.tmf;
tmf              1223 drivers/vhost/scsi.c 			vc.lunp = &v_req.tmf.lun[0];
tmf              1224 drivers/vhost/scsi.c 			vc.target = &v_req.tmf.lun[1];
tmf               361 include/scsi/sas.h 	u8     tmf;
tmf               592 include/scsi/sas.h 	u8     tmf;