Home
last modified time | relevance | path

Searched refs:cmdsn (Results 1 – 14 of 14) sorted by relevance

/drivers/target/iscsi/
Discsi_target_erl1.c792 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()
Discsi_target_util.c258 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()
Discsi_target.c1138 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 …]
Discsi_target_util.h26 unsigned char * ,__be32 cmdsn);
Discsi_target_login.c276 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()
Discsi_target_erl2.c283 ooo_cmdsn->cmdsn, conn->cid); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
/drivers/scsi/
Dlibiscsi.c415 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/
Dcxgbit_target.c935 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/
Dqedi_fw.c1047 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/
Dbnx2i_hwi.c352 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()
Dbnx2i_iscsi.c1247 cmd->req.cmd_sn = be32_to_cpu(hdr->cmdsn); in bnx2i_task_xmit()
/drivers/infiniband/ulp/isert/
Dib_isert.c1005 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/
Dbe_main.c4555 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/
Dlibcxgbi.c2169 be32_to_cpu(task->cmdsn), be32_to_cpu(task->hdr->itt), offset, count); in cxgbi_conn_init_pdu()