Lines Matching refs:erp_counter
1190 atomic_set(&zfcp_sdev->erp_counter, 0); in zfcp_erp_strategy_check_lun()
1194 atomic_inc(&zfcp_sdev->erp_counter); in zfcp_erp_strategy_check_lun()
1195 if (atomic_read(&zfcp_sdev->erp_counter) > ZFCP_MAX_ERPS) { in zfcp_erp_strategy_check_lun()
1225 atomic_set(&port->erp_counter, 0); in zfcp_erp_strategy_check_port()
1234 atomic_inc(&port->erp_counter); in zfcp_erp_strategy_check_port()
1235 if (atomic_read(&port->erp_counter) > ZFCP_MAX_ERPS) { in zfcp_erp_strategy_check_port()
1263 atomic_set(&adapter->erp_counter, 0); in zfcp_erp_strategy_check_adapter()
1268 atomic_inc(&adapter->erp_counter); in zfcp_erp_strategy_check_adapter()
1269 if (atomic_read(&adapter->erp_counter) > ZFCP_MAX_ERPS) { in zfcp_erp_strategy_check_adapter()
1744 atomic_set(&adapter->erp_counter, 0); in zfcp_erp_clear_adapter_status()
1750 atomic_set(&port->erp_counter, 0); in zfcp_erp_clear_adapter_status()
1765 atomic_set(&sdev_to_zfcp(sdev)->erp_counter, 0); in zfcp_erp_clear_adapter_status()
1816 atomic_set(&port->erp_counter, 0); in zfcp_erp_clear_port_status()
1824 atomic_set(&sdev_to_zfcp(sdev)->erp_counter, 0); in zfcp_erp_clear_port_status()
1853 atomic_set(&zfcp_sdev->erp_counter, 0); in zfcp_erp_clear_lun_status()