/drivers/target/iscsi/ |
D | iscsi_target_erl1.c | 792 if (iscsi_sna_lt(ooo_tail->cmdsn, ooo_cmdsn->cmdsn)) in iscsit_attach_ooo_cmdsn() 802 if (iscsi_sna_lt(ooo_tmp->cmdsn, ooo_cmdsn->cmdsn)) in iscsit_attach_ooo_cmdsn() 853 if (ooo_cmdsn->cmdsn != sess->exp_cmd_sn) in iscsit_execute_ooo_cmdsns() 1016 u32 cmdsn) in iscsit_handle_ooo_cmdsn() argument 1030 if (ooo_tail->cmdsn != (cmdsn - 1)) in iscsit_handle_ooo_cmdsn() 1040 (cmdsn - sess->exp_cmd_sn) : 1; in iscsit_handle_ooo_cmdsn() 1043 ooo_cmdsn->cmdsn = cmdsn; in iscsit_handle_ooo_cmdsn()
|
D | iscsi_target_util.c | 258 static inline int iscsit_check_received_cmdsn(struct iscsi_session *sess, u32 cmdsn) in iscsit_check_received_cmdsn() argument 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() 275 } else if (cmdsn == sess->exp_cmd_sn) { in iscsit_check_received_cmdsn() 282 } else if (iscsi_sna_gt(cmdsn, sess->exp_cmd_sn)) { in iscsit_check_received_cmdsn() 285 cmdsn, sess->exp_cmd_sn); in iscsit_check_received_cmdsn() 290 " ExpCmdSN: 0x%08x, ignoring.\n", cmdsn, in iscsit_check_received_cmdsn() 303 unsigned char *buf, __be32 cmdsn) in iscsit_sequence_cmd() argument 311 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd() 323 ret = iscsit_handle_ooo_cmdsn(conn->sess, cmd, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd()
|
D | iscsi_target.c | 1138 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_scsi_cmd() 1164 hdr->cmdsn, be32_to_cpu(hdr->data_length), payload_length, in iscsit_setup_scsi_cmd() 1233 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_scsi_cmd() 1309 (unsigned char *)hdr, hdr->cmdsn); in iscsit_get_immediate_data() 1756 hdr->itt, hdr->ttt, hdr->cmdsn, hdr->exp_statsn, in iscsit_setup_nop_out() 1772 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_nop_out() 1807 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_nop_out() 1915 " DataCRC error.\n", hdr->cmdsn); in iscsit_handle_nop_out() 1985 " 0x%08x, CID: %hu\n", hdr->itt, hdr->cmdsn, function, in iscsit_handle_task_mgt_cmd() 2048 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_handle_task_mgt_cmd() [all …]
|
D | iscsi_target_util.h | 26 unsigned char * ,__be32 cmdsn);
|
D | iscsi_target_login.c | 276 sess->exp_cmd_sn = be32_to_cpu(pdu->cmdsn); in iscsi_login_zero_tsih_s1() 309 atomic_set(&sess->max_cmd_sn, be32_to_cpu(pdu->cmdsn)); in iscsi_login_zero_tsih_s1() 1022 login_req->flags, login_req->itt, login_req->cmdsn, in iscsit_get_login_rx() 1035 login->cmd_sn = be32_to_cpu(login_req->cmdsn); in iscsit_get_login_rx()
|
D | iscsi_target_erl2.c | 283 ooo_cmdsn->cmdsn, conn->cid); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
|
/drivers/scsi/ |
D | libiscsi.c | 415 hdr->cmdsn = task->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_scsi_cmd_pdu() 421 session->cmdsn++; in iscsi_prep_scsi_cmd_pdu() 429 session->cmdsn, in iscsi_prep_scsi_cmd_pdu() 621 nop->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_mgmt_task() 634 session->cmdsn++; in iscsi_prep_mgmt_task() 1410 session->cmdsn, session->queued_cmdsn); in iscsi_check_cmdsn_window_closed() 1741 session->cmdsn--; in iscsi_queuecommand() 2183 hdr->refcmdsn = task->cmdsn; in iscsi_prep_abort_task_pdu() 2844 session->queued_cmdsn = session->cmdsn = initial_cmdsn; in iscsi_session_setup() 3080 session->queued_cmdsn = session->cmdsn; in iscsi_conn_start()
|
/drivers/target/iscsi/cxgbit/ |
D | cxgbit_target.c | 935 hdr->cmdsn); in cxgbit_get_immediate_data() 1114 " DataCRC error.\n", hdr->cmdsn); in cxgbit_handle_nop_out() 1181 " DataCRC error.\n", hdr->cmdsn); in cxgbit_handle_text_cmd() 1334 login_req->flags, login_req->itt, login_req->cmdsn, in cxgbit_rx_login_pdu() 1348 login->cmd_sn = be32_to_cpu(login_req->cmdsn); in cxgbit_rx_login_pdu()
|
/drivers/scsi/qedi/ |
D | qedi_fw.c | 1047 login_req_pdu_header.cmd_sn = be32_to_cpu(login_hdr->cmdsn); in qedi_send_iscsi_login() 1141 logout_pdu_header.cmd_sn = be32_to_cpu(logout_hdr->cmdsn); in qedi_send_iscsi_logout() 1495 tmf_pdu_header.cmd_sn = be32_to_cpu(tmf_hdr->cmdsn); in qedi_send_iscsi_tmf() 1639 text_request_pdu_header.cmd_sn = be32_to_cpu(text_hdr->cmdsn); in qedi_send_iscsi_text() 1739 nop_out_pdu_header.cmd_sn = be32_to_cpu(nopout_hdr->cmdsn); in qedi_send_iscsi_nopout() 2101 cmd_pdu_header.cmd_sn = be32_to_cpu(hdr->cmdsn); in qedi_iscsi_send_ioreq()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 352 login_wqe->cmd_sn = be32_to_cpu(login_hdr->cmdsn); in bnx2i_send_iscsi_login() 402 tmfabort_wqe->cmd_sn = be32_to_cpu(tmfabort_hdr->cmdsn); in bnx2i_send_iscsi_tmf() 475 text_wqe->cmd_sn = be32_to_cpu(text_hdr->cmdsn); in bnx2i_send_iscsi_text() 561 nopout_wqe->cmd_sn = be32_to_cpu(nopout_hdr->cmdsn); in bnx2i_send_iscsi_nopout() 601 logout_wqe->cmd_sn = be32_to_cpu(logout_hdr->cmdsn); in bnx2i_send_iscsi_logout()
|
D | bnx2i_iscsi.c | 1247 cmd->req.cmd_sn = be32_to_cpu(hdr->cmdsn); in bnx2i_task_xmit()
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1005 login->cmd_sn = be32_to_cpu(login_req->cmdsn); in isert_rx_login_req() 1106 rc = iscsit_sequence_cmd(conn, cmd, buf, hdr->cmdsn); in isert_handle_scsi_cmd()
|
/drivers/scsi/be2iscsi/ |
D | be_main.c | 4555 be32_to_cpu(task->cmdsn)); in beiscsi_iotask_v2() 4615 be32_to_cpu(task->cmdsn)); in beiscsi_iotask() 4658 be32_to_cpu(task->cmdsn)); in beiscsi_mtask() 4676 be32_to_cpu(task->cmdsn)); in beiscsi_mtask()
|
/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 2169 be32_to_cpu(task->cmdsn), be32_to_cpu(task->hdr->itt), offset, count); in cxgbi_conn_init_pdu()
|