Lines Matching refs:max_cmdsn
114 uint32_t exp_cmdsn, uint32_t max_cmdsn) in __iscsi_update_cmdsn() argument
120 if (iscsi_sna_lt(max_cmdsn, exp_cmdsn - 1)) in __iscsi_update_cmdsn()
127 if (max_cmdsn != session->max_cmdsn && in __iscsi_update_cmdsn()
128 !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) { in __iscsi_update_cmdsn()
129 session->max_cmdsn = max_cmdsn; in __iscsi_update_cmdsn()
143 be32_to_cpu(hdr->max_cmdsn)); in iscsi_update_cmdsn()
491 session->max_cmdsn - session->exp_cmdsn + 1); in iscsi_prep_scsi_cmd_pdu()
607 uint32_t exp_cmdsn, uint32_t max_cmdsn) in iscsi_complete_scsi_task() argument
614 __iscsi_update_cmdsn(conn->session, exp_cmdsn, max_cmdsn); in iscsi_complete_scsi_task()
1393 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed()
1396 session->exp_cmdsn, session->max_cmdsn, in iscsi_check_cmdsn_window_closed()
2761 session->max_cmdsn = initial_cmdsn + 1; in iscsi_session_setup()