Lines Matching refs:tmf_state
273 if (conn->tmf_state == TMF_INITIAL) in iscsi_check_tmf_restrictions()
931 if (conn->tmf_state != TMF_QUEUED) in iscsi_tmf_rsp()
935 conn->tmf_state = TMF_SUCCESS; in iscsi_tmf_rsp()
937 conn->tmf_state = TMF_NOT_FOUND; in iscsi_tmf_rsp()
939 conn->tmf_state = TMF_FAILED; in iscsi_tmf_rsp()
1753 if (conn->tmf_state == TMF_QUEUED) { in iscsi_tmf_timedout()
1754 conn->tmf_state = TMF_TIMEDOUT; in iscsi_tmf_timedout()
1798 conn->tmf_state != TMF_QUEUED); in iscsi_exec_task_mgmt_fn()
2146 if (conn->tmf_state != TMF_INITIAL) in iscsi_eh_abort()
2148 conn->tmf_state = TMF_QUEUED; in iscsi_eh_abort()
2158 switch (conn->tmf_state) { in iscsi_eh_abort()
2173 conn->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2184 conn->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2193 conn->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2249 if (conn->tmf_state != TMF_INITIAL) in iscsi_eh_device_reset()
2251 conn->tmf_state = TMF_QUEUED; in iscsi_eh_device_reset()
2262 switch (conn->tmf_state) { in iscsi_eh_device_reset()
2270 conn->tmf_state = TMF_INITIAL; in iscsi_eh_device_reset()
2282 conn->tmf_state = TMF_INITIAL; in iscsi_eh_device_reset()
2412 if (conn->tmf_state != TMF_INITIAL) in iscsi_eh_target_reset()
2414 conn->tmf_state = TMF_QUEUED; in iscsi_eh_target_reset()
2425 switch (conn->tmf_state) { in iscsi_eh_target_reset()
2433 conn->tmf_state = TMF_INITIAL; in iscsi_eh_target_reset()
2445 conn->tmf_state = TMF_INITIAL; in iscsi_eh_target_reset()
2848 conn->tmf_state = TMF_INITIAL; in iscsi_conn_setup()
3003 conn->tmf_state = TMF_INITIAL; in iscsi_conn_start()