Searched refs:reset_rc (Results 1 – 2 of 2) sorted by relevance
2971 int cancel_rc, block_rc, reset_rc = 0; in ibmvfc_eh_device_reset_handler() local2979 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_LUN_RESET, "LUN"); in ibmvfc_eh_device_reset_handler()2983 if (!cancel_rc && !reset_rc) in ibmvfc_eh_device_reset_handler()3019 int reset_rc = 0; in ibmvfc_eh_target_reset_handler() local3038 reset_rc = ibmvfc_reset_device(sdev, in ibmvfc_eh_target_reset_handler()3047 if (!cancel_rc && !reset_rc) in ibmvfc_eh_target_reset_handler()
6393 int reset_rc; in pqi_lun_reset_with_retries() local6399 reset_rc = pqi_lun_reset(ctrl_info, device, lun); in pqi_lun_reset_with_retries()6400 …if (reset_rc == 0 || reset_rc == -ENODEV || reset_rc == -ENXIO || ++retries > PQI_LUN_RESET_RETRIE… in pqi_lun_reset_with_retries()6405 timeout_msecs = reset_rc ? PQI_LUN_RESET_FAILED_PENDING_IO_TIMEOUT_MSECS : in pqi_lun_reset_with_retries()6409 if (wait_rc && reset_rc == 0) in pqi_lun_reset_with_retries()6410 reset_rc = wait_rc; in pqi_lun_reset_with_retries()6412 return reset_rc == 0 ? SUCCESS : FAILED; in pqi_lun_reset_with_retries()