Searched refs:reset_rc (Results 1 – 2 of 2) sorted by relevance
2970 int cancel_rc, block_rc, reset_rc = 0; in ibmvfc_eh_device_reset_handler() local2978 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_LUN_RESET, "LUN"); in ibmvfc_eh_device_reset_handler()2982 if (!cancel_rc && !reset_rc) in ibmvfc_eh_device_reset_handler()3018 int reset_rc = 0; in ibmvfc_eh_target_reset_handler() local3037 reset_rc = ibmvfc_reset_device(sdev, in ibmvfc_eh_target_reset_handler()3046 if (!cancel_rc && !reset_rc) in ibmvfc_eh_target_reset_handler()
6355 int reset_rc; in pqi_lun_reset_with_retries() local6361 reset_rc = pqi_lun_reset(ctrl_info, device, lun); in pqi_lun_reset_with_retries()6362 …if (reset_rc == 0 || reset_rc == -ENODEV || reset_rc == -ENXIO || ++retries > PQI_LUN_RESET_RETRIE… in pqi_lun_reset_with_retries()6367 timeout_msecs = reset_rc ? PQI_LUN_RESET_FAILED_PENDING_IO_TIMEOUT_MSECS : in pqi_lun_reset_with_retries()6371 if (wait_rc && reset_rc == 0) in pqi_lun_reset_with_retries()6372 reset_rc = wait_rc; in pqi_lun_reset_with_retries()6374 return reset_rc == 0 ? SUCCESS : FAILED; in pqi_lun_reset_with_retries()