Home
last modified time | relevance | path

Searched refs:cmdsn (Results 1 – 19 of 19) 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()
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()
Discsi_target_util.c241 static inline int iscsit_check_received_cmdsn(struct iscsit_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()
Discsi_target.c1169 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_scsi_cmd()
1199 hdr->cmdsn, be32_to_cpu(hdr->data_length), payload_length, in iscsit_setup_scsi_cmd()
1273 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_scsi_cmd()
1349 (unsigned char *)hdr, hdr->cmdsn); in iscsit_get_immediate_data()
1796 hdr->itt, hdr->ttt, hdr->cmdsn, hdr->exp_statsn, in iscsit_setup_nop_out()
1812 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_nop_out()
1847 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_nop_out()
1955 " DataCRC error.\n", hdr->cmdsn); in iscsit_handle_nop_out()
2025 " 0x%08x, CID: %hu\n", hdr->itt, hdr->cmdsn, function, in iscsit_handle_task_mgt_cmd()
2089 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()
982 login_req->flags, login_req->itt, login_req->cmdsn, in iscsit_get_login_rx()
995 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/infiniband/hw/erdma/
Derdma_cmdq.c14 FIELD_PREP(ERDMA_CQDB_CMDSN_MASK, cmdq->cq.cmdsn) | in arm_cmdq_cq()
15 FIELD_PREP(ERDMA_CQDB_IDX_MASK, cmdq->cq.cmdsn); in arm_cmdq_cq()
360 cmdq->cq.cmdsn++; in erdma_cmdq_completion_handler()
Derdma.h62 u32 cmdsn; member
Derdma_cq.c26 FIELD_PREP(ERDMA_CQDB_CMDSN_MASK, cq->kern_cq.cmdsn) | in notify_cq()
Derdma_verbs.h244 u32 cmdsn; member
Derdma_eq.c150 cq->kern_cq.cmdsn++; in erdma_ceq_completion_handler()
/drivers/scsi/
Dlibiscsi.c427 hdr->cmdsn = task->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_scsi_cmd_pdu()
433 session->cmdsn++; in iscsi_prep_scsi_cmd_pdu()
441 session->cmdsn, in iscsi_prep_scsi_cmd_pdu()
668 nop->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_mgmt_task()
681 session->cmdsn++; in iscsi_prep_mgmt_task()
1495 session->cmdsn, session->queued_cmdsn); in iscsi_check_cmdsn_window_closed()
1852 session->cmdsn--; in iscsi_queuecommand()
2341 hdr->refcmdsn = task->cmdsn; in iscsi_prep_abort_task_pdu()
3055 session->queued_cmdsn = session->cmdsn = initial_cmdsn; in iscsi_session_setup()
3320 session->queued_cmdsn = session->cmdsn; in iscsi_conn_start()
[all …]
/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.c1010 login_req_pdu_header.cmd_sn = be32_to_cpu(login_hdr->cmdsn); in qedi_send_iscsi_login()
1104 logout_pdu_header.cmd_sn = be32_to_cpu(logout_hdr->cmdsn); in qedi_send_iscsi_logout()
1460 tmf_pdu_header.cmd_sn = be32_to_cpu(tmf_hdr->cmdsn); in send_iscsi_tmf()
1582 text_request_pdu_header.cmd_sn = be32_to_cpu(text_hdr->cmdsn); in qedi_send_iscsi_text()
1682 nop_out_pdu_header.cmd_sn = be32_to_cpu(nopout_hdr->cmdsn); in qedi_send_iscsi_nopout()
2044 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.c1245 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.c4546 be32_to_cpu(task->cmdsn)); in beiscsi_iotask_v2()
4606 be32_to_cpu(task->cmdsn)); in beiscsi_iotask()
4649 be32_to_cpu(task->cmdsn)); in beiscsi_mtask()
4667 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()