Lines Matching refs:cmd
215 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_trc_start()
251 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_trc_end()
1692 evt->xfer_iu->cmd.tag = cpu_to_be64((u64)evt); in ibmvfc_send_event()
1764 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_log_error()
1822 struct ibmvfc_cmd *vfc_cmd = &evt->xfer_iu->cmd; in ibmvfc_scsi_done()
1900 struct ibmvfc_cmd *vfc_cmd = &evt->iu.cmd; in ibmvfc_init_vfc_cmd()
2257 mad->iu.cmd.va = cpu_to_be64(sg_dma_address(job->request_payload.sg_list)); in ibmvfc_bsg_request()
2258 mad->iu.cmd.len = cpu_to_be32(sg_dma_len(job->request_payload.sg_list)); in ibmvfc_bsg_request()
2316 struct ibmvfc_fcp_rsp *fc_rsp = ibmvfc_get_fcp_rsp(vhost, &rsp_iu.cmd); in ibmvfc_reset_device()
2357 if (rsp_iu.cmd.status) in ibmvfc_reset_device()
2358 rsp_code = ibmvfc_get_err_result(vhost, &rsp_iu.cmd); in ibmvfc_reset_device()
2366 ibmvfc_get_cmd_error(be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error)), in ibmvfc_reset_device()
2367 be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error), fc_rsp->flags, rsp_code, in ibmvfc_reset_device()
2749 be32_to_cpu(evt->iu.cmd.cancel_key) == cancel_key) in ibmvfc_match_key()
2787 struct ibmvfc_fcp_rsp *fc_rsp = ibmvfc_get_fcp_rsp(vhost, &rsp_iu.cmd); in ibmvfc_abort_task_set()
2871 if (rsp_iu.cmd.status) in ibmvfc_abort_task_set()
2872 rsp_code = ibmvfc_get_err_result(vhost, &rsp_iu.cmd); in ibmvfc_abort_task_set()
2880 ibmvfc_get_cmd_error(be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error)), in ibmvfc_abort_task_set()
2881 be16_to_cpu(rsp_iu.cmd.status), be16_to_cpu(rsp_iu.cmd.error), fc_rsp->flags, rsp_code, in ibmvfc_abort_task_set()
2901 static int ibmvfc_eh_abort_handler(struct scsi_cmnd *cmd) in ibmvfc_eh_abort_handler() argument
2903 struct scsi_device *sdev = cmd->device; in ibmvfc_eh_abort_handler()
2909 block_rc = fc_block_scsi_eh(cmd); in ibmvfc_eh_abort_handler()
2934 static int ibmvfc_eh_device_reset_handler(struct scsi_cmnd *cmd) in ibmvfc_eh_device_reset_handler() argument
2936 struct scsi_device *sdev = cmd->device; in ibmvfc_eh_device_reset_handler()
2942 block_rc = fc_block_scsi_eh(cmd); in ibmvfc_eh_device_reset_handler()
2991 static int ibmvfc_eh_target_reset_handler(struct scsi_cmnd *cmd) in ibmvfc_eh_target_reset_handler() argument
2993 struct scsi_device *sdev = cmd->device; in ibmvfc_eh_target_reset_handler()
3002 block_rc = fc_block_scsi_eh(cmd); in ibmvfc_eh_target_reset_handler()
3025 static int ibmvfc_eh_host_reset_handler(struct scsi_cmnd *cmd) in ibmvfc_eh_host_reset_handler() argument
3028 struct ibmvfc_host *vhost = shost_priv(cmd->device->host); in ibmvfc_eh_host_reset_handler()
4554 mad->iu.cmd.va = cpu_to_be64((u64)be64_to_cpu(evt->crq.ioba) + in ibmvfc_init_passthru()
4557 mad->iu.cmd.len = cpu_to_be32(sizeof(mad->fc_iu.payload)); in ibmvfc_init_passthru()