Searched refs:max_cmdsn (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/ |
D | libiscsi.c | 99 uint32_t exp_cmdsn, uint32_t max_cmdsn) in __iscsi_update_cmdsn() argument 105 if (iscsi_sna_lt(max_cmdsn, exp_cmdsn - 1)) in __iscsi_update_cmdsn() 112 if (max_cmdsn != session->max_cmdsn && in __iscsi_update_cmdsn() 113 !iscsi_sna_lt(max_cmdsn, session->max_cmdsn)) in __iscsi_update_cmdsn() 114 session->max_cmdsn = max_cmdsn; in __iscsi_update_cmdsn() 120 be32_to_cpu(hdr->max_cmdsn)); in iscsi_update_cmdsn() 472 session->max_cmdsn - session->exp_cmdsn + 1); in iscsi_prep_scsi_cmd_pdu() 592 uint32_t exp_cmdsn, uint32_t max_cmdsn) in iscsi_complete_scsi_task() argument 599 __iscsi_update_cmdsn(conn->session, exp_cmdsn, max_cmdsn); in iscsi_complete_scsi_task() 1433 if (!iscsi_sna_lte(session->queued_cmdsn, session->max_cmdsn)) { in iscsi_check_cmdsn_window_closed() [all …]
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 1402 hdr->max_cmdsn = cpu_to_be32(resp_cqe->max_cmd_sn); in bnx2i_process_scsi_cmd_resp() 1482 resp_hdr->max_cmdsn = cpu_to_be32(login->max_cmd_sn); in bnx2i_process_login_resp() 1546 resp_hdr->max_cmdsn = cpu_to_be32(text->max_cmd_sn); in bnx2i_process_text_resp() 1598 resp_hdr->max_cmdsn = cpu_to_be32(tmf_cqe->max_cmd_sn); in bnx2i_process_tmf_resp() 1643 resp_hdr->max_cmdsn = cpu_to_be32(logout->max_cmd_sn); in bnx2i_process_logout_resp() 1721 hdr->max_cmdsn = cpu_to_be32(nop_in->max_cmd_sn); in bnx2i_process_nopin_mesg() 1784 resp_hdr->max_cmdsn = cpu_to_be32(async_cqe->max_cmd_sn); in bnx2i_process_async_mesg() 1828 hdr->max_cmdsn = cpu_to_be32(reject->max_cmd_sn); in bnx2i_process_reject_mesg()
|
/drivers/target/iscsi/ |
D | iscsi_target_nego.c | 356 login_rsp->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsi_target_do_tx_login_io() 361 ntohl(login_rsp->exp_cmdsn), ntohl(login_rsp->max_cmdsn), in iscsi_target_do_tx_login_io() 387 login_rsp->max_cmdsn = cpu_to_be32(sess->max_cmd_sn); in iscsi_target_do_tx_login_io()
|
D | iscsi_target.c | 2539 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_send_conn_drop_async_message() 2611 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_datain_pdu() 2826 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_logout_rsp() 2889 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_nopin_rsp() 3040 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_send_r2t() 3193 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_rsp_pdu() 3312 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_task_mgt_rsp() 3536 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_text_rsp() 3616 hdr->max_cmdsn = cpu_to_be32(conn->sess->max_cmd_sn); in iscsit_build_reject()
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 1308 u32 resid = 0, exp_cmdsn, max_cmdsn; in be_complete_io() local 1312 max_cmdsn = (csol_cqe->exp_cmdsn + in be_complete_io() 1361 iscsi_complete_scsi_task(task, exp_cmdsn, max_cmdsn); in be_complete_io() 1380 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_logout() 1405 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_tmf() 1458 hdr->max_cmdsn = cpu_to_be32(csol_cqe->exp_cmdsn + in be_complete_nopin_resp()
|