Home
last modified time | relevance | path

Searched refs:max_cmdsn (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/
Dlibiscsi.c97 uint32_t exp_cmdsn, uint32_t max_cmdsn) in __iscsi_update_cmdsn() argument
103 if (iscsi_sna_lt(max_cmdsn, exp_cmdsn - 1)) in __iscsi_update_cmdsn()
110 if (max_cmdsn != session->max_cmdsn && in __iscsi_update_cmdsn()
111 !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) in __iscsi_update_cmdsn()
112 session->max_cmdsn = max_cmdsn; in __iscsi_update_cmdsn()
118 be32_to_cpu(hdr->max_cmdsn)); in iscsi_update_cmdsn()
430 session->max_cmdsn - session->exp_cmdsn + 1); in iscsi_prep_scsi_cmd_pdu()
550 uint32_t exp_cmdsn, uint32_t max_cmdsn) in iscsi_complete_scsi_task() argument
557 __iscsi_update_cmdsn(conn->session, exp_cmdsn, max_cmdsn); in iscsi_complete_scsi_task()
1406 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed()
[all …]
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1385 hdr->max_cmdsn = cpu_to_be32(resp_cqe->max_cmd_sn); in bnx2i_process_scsi_cmd_resp()
1465 resp_hdr->max_cmdsn = cpu_to_be32(login->max_cmd_sn); in bnx2i_process_login_resp()
1529 resp_hdr->max_cmdsn = cpu_to_be32(text->max_cmd_sn); in bnx2i_process_text_resp()
1581 resp_hdr->max_cmdsn = cpu_to_be32(tmf_cqe->max_cmd_sn); in bnx2i_process_tmf_resp()
1626 resp_hdr->max_cmdsn = cpu_to_be32(logout->max_cmd_sn); in bnx2i_process_logout_resp()
1704 hdr->max_cmdsn = cpu_to_be32(nop_in->max_cmd_sn); in bnx2i_process_nopin_mesg()
1767 resp_hdr->max_cmdsn = cpu_to_be32(async_cqe->max_cmd_sn); in bnx2i_process_async_mesg()
1811 hdr->max_cmdsn = cpu_to_be32(reject->max_cmd_sn); in bnx2i_process_reject_mesg()
/drivers/target/iscsi/
Discsi_target_util.c260 u32 max_cmdsn; in iscsit_check_received_cmdsn() local
269 max_cmdsn = atomic_read(&sess->max_cmd_sn); in iscsit_check_received_cmdsn()
270 if (iscsi_sna_gt(cmdsn, max_cmdsn)) { in iscsit_check_received_cmdsn()
272 " MaxCmdSN: 0x%08x, ignoring.\n", cmdsn, max_cmdsn); in iscsit_check_received_cmdsn()
Discsi_target.c2758 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_conn_drop_async_message()
2816 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_datain_pdu()
2971 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_logout_rsp()
3014 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_nopin_rsp()
3095 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_r2t()
3235 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_rsp_pdu()
3315 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_task_mgt_rsp()
3523 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_text_rsp()
3564 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_reject()
Discsi_target_nego.c340 login_rsp->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsi_target_do_tx_login_io()
345 ntohl(login_rsp->exp_cmdsn), ntohl(login_rsp->max_cmdsn), in iscsi_target_do_tx_login_io()
/drivers/scsi/qedi/
Dqedi_fw.c53 resp_hdr->max_cmdsn = cpu_to_be32(cqe_logout_response->max_cmd_sn); in qedi_process_logout_resp()
114 resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_text_response->max_cmd_sn); in qedi_process_text_resp()
216 resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_tmp_response->max_cmd_sn); in qedi_process_tmf_resp()
279 resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_login_response->max_cmd_sn); in qedi_process_login_resp()
423 hdr->max_cmdsn = cpu_to_be32(cqe_nop_in->max_cmd_sn); in qedi_process_nopin_mesg()
506 resp_hdr->max_cmdsn = cpu_to_be32(cqe_async_msg->max_cmd_sn); in qedi_process_async_mesg()
554 hdr->max_cmdsn = cpu_to_be32(cqe_reject->max_cmd_sn); in qedi_process_reject_mesg()
619 hdr->max_cmdsn = cpu_to_be32(cqe_data_in->max_cmd_sn); in qedi_scsi_completion()
/drivers/scsi/be2iscsi/
Dbe_main.c1109 u32 resid = 0, exp_cmdsn, max_cmdsn; in be_complete_io() local
1113 max_cmdsn = (csol_cqe->exp_cmdsn + in be_complete_io()
1164 iscsi_complete_scsi_task(task, exp_cmdsn, max_cmdsn); in be_complete_io()
1183 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_logout()
1208 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_tmf()
1262 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_nopin_resp()