Searched refs:reset_rc (Results 1 – 2 of 2) sorted by relevance
2894 int cancel_rc, block_rc, reset_rc = 0; in ibmvfc_eh_device_reset_handler() local2902 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_LUN_RESET, "LUN"); in ibmvfc_eh_device_reset_handler()2906 if (!cancel_rc && !reset_rc) in ibmvfc_eh_device_reset_handler()2953 int reset_rc = 0; in ibmvfc_eh_target_reset_handler() local2962 reset_rc = ibmvfc_reset_device(sdev, IBMVFC_TARGET_RESET, "target"); in ibmvfc_eh_target_reset_handler()2966 if (!cancel_rc && !reset_rc) in ibmvfc_eh_target_reset_handler()
5982 int reset_rc; in pqi_lun_reset_with_retries() local5988 reset_rc = pqi_lun_reset(ctrl_info, device); in pqi_lun_reset_with_retries()5989 if (reset_rc == 0 || ++retries > PQI_LUN_RESET_RETRIES) in pqi_lun_reset_with_retries()5994 timeout_msecs = reset_rc ? PQI_LUN_RESET_FAILED_PENDING_IO_TIMEOUT_MSECS : in pqi_lun_reset_with_retries()5998 if (wait_rc && reset_rc == 0) in pqi_lun_reset_with_retries()5999 reset_rc = wait_rc; in pqi_lun_reset_with_retries()6001 return reset_rc == 0 ? SUCCESS : FAILED; in pqi_lun_reset_with_retries()