Searched refs:max_cmdsn (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/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 | 296 uint32_t max_cmdsn; member 486 uint32_t exp_cmdsn, uint32_t max_cmdsn);
|
/linux-6.12.1/drivers/scsi/ |
D | libiscsi.c | 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() [all …]
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/target/iscsi/ |
D | iscsi_target_util.c | 243 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()
|
D | iscsi_target.c | 2793 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_conn_drop_async_message() 2851 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_datain_pdu() 3006 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_logout_rsp() 3049 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_nopin_rsp() 3130 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_send_r2t() 3270 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_rsp_pdu() 3350 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_task_mgt_rsp() 3558 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_text_rsp() 3599 hdr->max_cmdsn = cpu_to_be32((u32) atomic_read(&conn->sess->max_cmd_sn)); in iscsit_build_reject()
|
D | iscsi_target_nego.c | 332 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-6.12.1/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() 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-6.12.1/drivers/scsi/be2iscsi/ |
D | be_main.c | 1126 u32 resid = 0, exp_cmdsn, max_cmdsn; in be_complete_io() local 1130 max_cmdsn = (csol_cqe->exp_cmdsn + in be_complete_io() 1181 iscsi_complete_scsi_task(task, exp_cmdsn, max_cmdsn); in be_complete_io() 1200 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_logout() 1225 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_tmf() 1279 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_nopin_resp()
|