Searched refs:rsp_rc (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c1490 int rsp_rc; ibmvscsi_eh_abort_handler() local
1539 rsp_rc = ibmvscsi_send_srp_event(evt, hostdata, abort_timeout * 2); ibmvscsi_eh_abort_handler()
1541 if (rsp_rc != SCSI_MLQUEUE_HOST_BUSY) ibmvscsi_eh_abort_handler()
1551 if (rsp_rc != 0) { ibmvscsi_eh_abort_handler()
1553 "failed to send abort() event. rc=%d\n", rsp_rc); ibmvscsi_eh_abort_handler()
1572 rsp_rc = *((int *)srp_rsp.srp.rsp.data); ibmvscsi_eh_abort_handler()
1574 rsp_rc = srp_rsp.srp.rsp.status; ibmvscsi_eh_abort_handler()
1576 if (rsp_rc) { ibmvscsi_eh_abort_handler()
1580 rsp_rc, tsk_mgmt->task_tag); ibmvscsi_eh_abort_handler()
1629 int rsp_rc; ibmvscsi_eh_device_reset_handler() local
1661 rsp_rc = ibmvscsi_send_srp_event(evt, hostdata, reset_timeout * 2); ibmvscsi_eh_device_reset_handler()
1663 if (rsp_rc != SCSI_MLQUEUE_HOST_BUSY) ibmvscsi_eh_device_reset_handler()
1673 if (rsp_rc != 0) { ibmvscsi_eh_device_reset_handler()
1675 "failed to send reset event. rc=%d\n", rsp_rc); ibmvscsi_eh_device_reset_handler()
1693 rsp_rc = *((int *)srp_rsp.srp.rsp.data); ibmvscsi_eh_device_reset_handler()
1695 rsp_rc = srp_rsp.srp.rsp.status; ibmvscsi_eh_device_reset_handler()
1697 if (rsp_rc) { ibmvscsi_eh_device_reset_handler()
1701 rsp_rc, tsk_mgmt->task_tag); ibmvscsi_eh_device_reset_handler()
H A Dibmvfc.c1969 int rsp_rc = -EBUSY; ibmvfc_reset_device() local
1993 rsp_rc = ibmvfc_send_event(evt, vhost, default_timeout); ibmvfc_reset_device()
1997 if (rsp_rc != 0) { ibmvfc_reset_device()
1999 desc, rsp_rc); ibmvfc_reset_device()
2018 rsp_rc = -EIO; ibmvfc_reset_device()
2025 return rsp_rc; ibmvfc_reset_device()
2152 int rsp_rc = -EBUSY; ibmvfc_cancel_all() local
2195 rsp_rc = ibmvfc_send_event(evt, vhost, default_timeout); ibmvfc_cancel_all()
2200 if (rsp_rc != 0) { ibmvfc_cancel_all()
2201 sdev_printk(KERN_ERR, sdev, "Failed to send cancel event. rc=%d\n", rsp_rc); ibmvfc_cancel_all()
2284 int rc, rsp_rc = -EBUSY; ibmvfc_abort_task_set() local
2323 rsp_rc = ibmvfc_send_event(evt, vhost, default_timeout); ibmvfc_abort_task_set()
2328 if (rsp_rc != 0) { ibmvfc_abort_task_set()
2329 sdev_printk(KERN_ERR, sdev, "Failed to send abort. rc=%d\n", rsp_rc); ibmvfc_abort_task_set()
2347 rsp_rc = -EIO; ibmvfc_abort_task_set()
2351 rsp_rc = 0; ibmvfc_abort_task_set()
2358 rsp_rc = 0; ibmvfc_abort_task_set()
2377 rsp_rc = -EIO; ibmvfc_abort_task_set()
2385 return rsp_rc; ibmvfc_abort_task_set()

Completed in 157 milliseconds