• Home
  • Raw
  • Download

Lines Matching refs:tmf

1638 	struct ibmvfc_cmd *tmf;  in ibmvfc_reset_device()  local
1651 tmf = &evt->iu.cmd; in ibmvfc_reset_device()
1652 memset(tmf, 0, sizeof(*tmf)); in ibmvfc_reset_device()
1653 tmf->resp.va = (u64)evt->crq.ioba + offsetof(struct ibmvfc_cmd, rsp); in ibmvfc_reset_device()
1654 tmf->resp.len = sizeof(tmf->rsp); in ibmvfc_reset_device()
1655 tmf->frame_type = IBMVFC_SCSI_FCP_TYPE; in ibmvfc_reset_device()
1656 tmf->payload_len = sizeof(tmf->iu); in ibmvfc_reset_device()
1657 tmf->resp_len = sizeof(tmf->rsp); in ibmvfc_reset_device()
1658 tmf->cancel_key = (unsigned long)sdev->hostdata; in ibmvfc_reset_device()
1659 tmf->tgt_scsi_id = rport->port_id; in ibmvfc_reset_device()
1660 int_to_scsilun(sdev->lun, &tmf->iu.lun); in ibmvfc_reset_device()
1661 tmf->flags = (IBMVFC_NO_MEM_DESC | IBMVFC_TMF); in ibmvfc_reset_device()
1662 tmf->iu.tmf_flags = type; in ibmvfc_reset_device()
1712 struct ibmvfc_cmd *tmf; in ibmvfc_abort_task_set() local
1740 tmf = &evt->iu.cmd; in ibmvfc_abort_task_set()
1741 memset(tmf, 0, sizeof(*tmf)); in ibmvfc_abort_task_set()
1742 tmf->resp.va = (u64)evt->crq.ioba + offsetof(struct ibmvfc_cmd, rsp); in ibmvfc_abort_task_set()
1743 tmf->resp.len = sizeof(tmf->rsp); in ibmvfc_abort_task_set()
1744 tmf->frame_type = IBMVFC_SCSI_FCP_TYPE; in ibmvfc_abort_task_set()
1745 tmf->payload_len = sizeof(tmf->iu); in ibmvfc_abort_task_set()
1746 tmf->resp_len = sizeof(tmf->rsp); in ibmvfc_abort_task_set()
1747 tmf->cancel_key = (unsigned long)sdev->hostdata; in ibmvfc_abort_task_set()
1748 tmf->tgt_scsi_id = rport->port_id; in ibmvfc_abort_task_set()
1749 int_to_scsilun(sdev->lun, &tmf->iu.lun); in ibmvfc_abort_task_set()
1750 tmf->flags = (IBMVFC_NO_MEM_DESC | IBMVFC_TMF); in ibmvfc_abort_task_set()
1751 tmf->iu.tmf_flags = IBMVFC_ABORT_TASK_SET; in ibmvfc_abort_task_set()
1803 struct ibmvfc_tmf *tmf; in ibmvfc_cancel_all() local
1831 tmf = &evt->iu.tmf; in ibmvfc_cancel_all()
1832 memset(tmf, 0, sizeof(*tmf)); in ibmvfc_cancel_all()
1833 tmf->common.version = 1; in ibmvfc_cancel_all()
1834 tmf->common.opcode = IBMVFC_TMF_MAD; in ibmvfc_cancel_all()
1835 tmf->common.length = sizeof(*tmf); in ibmvfc_cancel_all()
1836 tmf->scsi_id = rport->port_id; in ibmvfc_cancel_all()
1837 int_to_scsilun(sdev->lun, &tmf->lun); in ibmvfc_cancel_all()
1838 tmf->flags = (type | IBMVFC_TMF_LUA_VALID); in ibmvfc_cancel_all()
1839 tmf->cancel_key = (unsigned long)sdev->hostdata; in ibmvfc_cancel_all()
1840 tmf->my_cancel_key = (unsigned long)starget->hostdata; in ibmvfc_cancel_all()