Lines Matching refs:max_cmdsn
109 uint32_t exp_cmdsn, uint32_t max_cmdsn) in __iscsi_update_cmdsn() argument
115 if (iscsi_sna_lt(max_cmdsn, exp_cmdsn - 1)) in __iscsi_update_cmdsn()
122 if (max_cmdsn != session->max_cmdsn && in __iscsi_update_cmdsn()
123 !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) in __iscsi_update_cmdsn()
124 session->max_cmdsn = max_cmdsn; in __iscsi_update_cmdsn()
130 be32_to_cpu(hdr->max_cmdsn)); in iscsi_update_cmdsn()
442 session->max_cmdsn - session->exp_cmdsn + 1); in iscsi_prep_scsi_cmd_pdu()
559 uint32_t exp_cmdsn, uint32_t max_cmdsn) in iscsi_complete_scsi_task() argument
566 __iscsi_update_cmdsn(conn->session, exp_cmdsn, max_cmdsn); in iscsi_complete_scsi_task()
1491 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed()
1494 session->exp_cmdsn, session->max_cmdsn, in iscsi_check_cmdsn_window_closed()
3057 session->max_cmdsn = initial_cmdsn + 1; in iscsi_session_setup()
3467 session->max_cmdsn = session->exp_cmdsn = session->cmdsn + 1; in iscsi_conn_bind()