Lines Matching refs:tmf_state

249 	if (session->tmf_state == TMF_INITIAL)  in iscsi_check_tmf_restrictions()
1004 if (session->tmf_state != TMF_QUEUED) in iscsi_tmf_rsp()
1008 session->tmf_state = TMF_SUCCESS; in iscsi_tmf_rsp()
1010 session->tmf_state = TMF_NOT_FOUND; in iscsi_tmf_rsp()
1012 session->tmf_state = TMF_FAILED; in iscsi_tmf_rsp()
1904 if (session->tmf_state == TMF_QUEUED) { in iscsi_tmf_timedout()
1905 session->tmf_state = TMF_TIMEDOUT; in iscsi_tmf_timedout()
1945 session->tmf_state != TMF_QUEUED); in iscsi_exec_task_mgmt_fn()
2420 if (session->tmf_state != TMF_INITIAL) in iscsi_eh_abort()
2422 session->tmf_state = TMF_QUEUED; in iscsi_eh_abort()
2430 switch (session->tmf_state) { in iscsi_eh_abort()
2445 session->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2457 session->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2466 session->tmf_state = TMF_INITIAL; in iscsi_eh_abort()
2534 if (session->tmf_state != TMF_INITIAL) in iscsi_eh_device_reset()
2536 session->tmf_state = TMF_QUEUED; in iscsi_eh_device_reset()
2547 switch (session->tmf_state) { in iscsi_eh_device_reset()
2555 session->tmf_state = TMF_INITIAL; in iscsi_eh_device_reset()
2567 session->tmf_state = TMF_INITIAL; in iscsi_eh_device_reset()
2696 if (session->tmf_state != TMF_INITIAL) in iscsi_eh_target_reset()
2698 session->tmf_state = TMF_QUEUED; in iscsi_eh_target_reset()
2709 switch (session->tmf_state) { in iscsi_eh_target_reset()
2717 session->tmf_state = TMF_INITIAL; in iscsi_eh_target_reset()
2729 session->tmf_state = TMF_INITIAL; in iscsi_eh_target_reset()
3062 session->tmf_state = TMF_INITIAL; in iscsi_session_setup()
3335 session->tmf_state = TMF_INITIAL; in iscsi_conn_start()