Home
last modified time | relevance | path

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

/linux-5.19.10/include/scsi/
Discsi_proto.h195 __be32 max_cmdsn; member
224 __be32 max_cmdsn; member
268 __be32 max_cmdsn; member
316 __be32 max_cmdsn; member
342 __be32 max_cmdsn; member
380 __be32 max_cmdsn; member
422 __be32 max_cmdsn; member
476 __be32 max_cmdsn; member
560 __be32 max_cmdsn; member
612 __be32 max_cmdsn; member
Dlibiscsi.h297 uint32_t max_cmdsn; member
483 uint32_t exp_cmdsn, uint32_t max_cmdsn);
/linux-5.19.10/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()
540 uint32_t exp_cmdsn, uint32_t max_cmdsn) in iscsi_complete_scsi_task() argument
547 __iscsi_update_cmdsn(conn->session, exp_cmdsn, max_cmdsn); in iscsi_complete_scsi_task()
1422 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed()
[all …]
/linux-5.19.10/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()
/linux-5.19.10/drivers/target/iscsi/
Discsi_target_util.c243 u32 max_cmdsn; in iscsit_check_received_cmdsn() local
252 max_cmdsn = atomic_read(&sess->max_cmd_sn); in iscsit_check_received_cmdsn()
253 if (iscsi_sna_gt(cmdsn, max_cmdsn)) { in iscsit_check_received_cmdsn()
255 " MaxCmdSN: 0x%08x, ignoring.\n", cmdsn, max_cmdsn); in iscsit_check_received_cmdsn()
Discsi_target.c2769 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_conn_drop_async_message()
2827 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_datain_pdu()
2982 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_logout_rsp()
3025 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_nopin_rsp()
3106 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_r2t()
3246 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_rsp_pdu()
3326 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_task_mgt_rsp()
3534 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_text_rsp()
3575 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_reject()
Discsi_target_nego.c332 login_rsp->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsi_target_do_tx_login_io()
337 ntohl(login_rsp->exp_cmdsn), ntohl(login_rsp->max_cmdsn), in iscsi_target_do_tx_login_io()
/linux-5.19.10/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()
218 resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_tmp_response->max_cmd_sn); in qedi_process_tmf_resp()
290 resp_hdr_ptr->max_cmdsn = cpu_to_be32(cqe_login_response->max_cmd_sn); in qedi_process_login_resp()
434 hdr->max_cmdsn = cpu_to_be32(cqe_nop_in->max_cmd_sn); in qedi_process_nopin_mesg()
517 resp_hdr->max_cmdsn = cpu_to_be32(cqe_async_msg->max_cmd_sn); in qedi_process_async_mesg()
565 hdr->max_cmdsn = cpu_to_be32(cqe_reject->max_cmd_sn); in qedi_process_reject_mesg()
623 hdr->max_cmdsn = cpu_to_be32(cqe_data_in->max_cmd_sn); in qedi_scsi_completion()
/linux-5.19.10/drivers/scsi/be2iscsi/
Dbe_main.c1111 u32 resid = 0, exp_cmdsn, max_cmdsn; in be_complete_io() local
1115 max_cmdsn = (csol_cqe->exp_cmdsn + in be_complete_io()
1166 iscsi_complete_scsi_task(task, exp_cmdsn, max_cmdsn); in be_complete_io()
1185 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_logout()
1210 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_tmf()
1264 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_nopin_resp()