/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() 1014 u32 cmdsn) in iscsit_handle_ooo_cmdsn() argument 1028 if (ooo_tail->cmdsn != (cmdsn - 1)) in iscsit_handle_ooo_cmdsn() 1038 (cmdsn - sess->exp_cmd_sn) : 1; in iscsit_handle_ooo_cmdsn() 1041 ooo_cmdsn->cmdsn = cmdsn; in iscsit_handle_ooo_cmdsn()
|
D | iscsi_target_util.c | 241 static inline int iscsit_check_received_cmdsn(struct iscsi_session *sess, u32 cmdsn) in iscsit_check_received_cmdsn() argument 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() 258 } else if (cmdsn == sess->exp_cmd_sn) { in iscsit_check_received_cmdsn() 265 } else if (iscsi_sna_gt(cmdsn, sess->exp_cmd_sn)) { in iscsit_check_received_cmdsn() 268 cmdsn, sess->exp_cmd_sn); in iscsit_check_received_cmdsn() 273 " ExpCmdSN: 0x%08x, ignoring.\n", cmdsn, in iscsit_check_received_cmdsn() 286 unsigned char *buf, __be32 cmdsn) in iscsit_sequence_cmd() argument 294 cmdsn_ret = iscsit_check_received_cmdsn(conn->sess, be32_to_cpu(cmdsn)); in iscsit_sequence_cmd() 306 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() 1235 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_scsi_cmd() 1311 (unsigned char *)hdr, hdr->cmdsn); in iscsit_get_immediate_data() 1758 hdr->itt, hdr->ttt, hdr->cmdsn, hdr->exp_statsn, in iscsit_setup_nop_out() 1774 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_nop_out() 1809 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_nop_out() 1917 " DataCRC error.\n", hdr->cmdsn); in iscsit_handle_nop_out() 1987 " 0x%08x, CID: %hu\n", hdr->itt, hdr->cmdsn, function, in iscsit_handle_task_mgt_cmd() 2050 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 | 425 hdr->cmdsn = task->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_scsi_cmd_pdu() 431 session->cmdsn++; in iscsi_prep_scsi_cmd_pdu() 439 session->cmdsn, in iscsi_prep_scsi_cmd_pdu() 651 nop->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_mgmt_task() 664 session->cmdsn++; in iscsi_prep_mgmt_task() 1436 session->cmdsn, session->queued_cmdsn); in iscsi_check_cmdsn_window_closed() 1789 session->cmdsn--; in iscsi_queuecommand() 2268 hdr->refcmdsn = task->cmdsn; in iscsi_prep_abort_task_pdu() 2976 session->queued_cmdsn = session->cmdsn = initial_cmdsn; in iscsi_session_setup() 3234 session->queued_cmdsn = session->cmdsn; in iscsi_conn_start() [all …]
|
/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 | 1015 login_req_pdu_header.cmd_sn = be32_to_cpu(login_hdr->cmdsn); in qedi_send_iscsi_login() 1109 logout_pdu_header.cmd_sn = be32_to_cpu(logout_hdr->cmdsn); in qedi_send_iscsi_logout() 1467 tmf_pdu_header.cmd_sn = be32_to_cpu(tmf_hdr->cmdsn); in send_iscsi_tmf() 1589 text_request_pdu_header.cmd_sn = be32_to_cpu(text_hdr->cmdsn); in qedi_send_iscsi_text() 1689 nop_out_pdu_header.cmd_sn = be32_to_cpu(nopout_hdr->cmdsn); in qedi_send_iscsi_nopout() 2051 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 | 1245 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 | 4527 be32_to_cpu(task->cmdsn)); in beiscsi_iotask_v2() 4587 be32_to_cpu(task->cmdsn)); in beiscsi_iotask() 4630 be32_to_cpu(task->cmdsn)); in beiscsi_mtask() 4648 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()
|