Searched refs:max_cmdsn (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/include/scsi/ |
D | iscsi_proto.h | 195 __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
|
D | libiscsi.h | 276 uint32_t max_cmdsn; member 463 uint32_t exp_cmdsn, uint32_t max_cmdsn);
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | libiscsi.c | 97 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() 1419 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 1385 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()
|
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
D | iscsi_target_util.c | 260 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()
|
D | iscsi_target.c | 2758 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()
|
D | iscsi_target_nego.c | 340 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()
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
D | qedi_fw.c | 53 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()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
D | be_main.c | 1109 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()
|