Lines Matching refs:leadconn
134 if (!list_empty(&session->leadconn->cmdqueue) || in __iscsi_update_cmdsn()
135 !list_empty(&session->leadconn->mgmtqueue)) in __iscsi_update_cmdsn()
136 iscsi_conn_queue_work(session->leadconn); in __iscsi_update_cmdsn()
1343 conn = session->leadconn; in iscsi_session_failure()
1659 conn = session->leadconn; in iscsi_queuecommand()
1936 conn = session->leadconn; in iscsi_eh_cmd_timed_out()
2132 if (!session->leadconn || session->state != ISCSI_STATE_LOGGED_IN || in iscsi_eh_abort()
2141 conn = session->leadconn; in iscsi_eh_abort()
2259 if (!session->leadconn || session->state != ISCSI_STATE_LOGGED_IN) in iscsi_eh_device_reset()
2261 conn = session->leadconn; in iscsi_eh_device_reset()
2320 if (session->leadconn) in iscsi_session_recovery_timedout()
2321 wake_up(&session->leadconn->ehwait); in iscsi_session_recovery_timedout()
2342 conn = session->leadconn; in iscsi_eh_session_reset()
2422 if (!session->leadconn || session->state != ISCSI_STATE_LOGGED_IN) in iscsi_eh_target_reset()
2424 conn = session->leadconn; in iscsi_eh_target_reset()
2920 if (session->leadconn == conn) { in iscsi_conn_teardown()
2960 if (session->leadconn == conn) in iscsi_conn_teardown()
2961 session->leadconn = NULL; in iscsi_conn_teardown()
3147 session->leadconn = conn; in iscsi_conn_bind()