Home
last modified time | relevance | path

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

/linux/drivers/target/iscsi/
A 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()
A Discsi_target_util.c241 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()
A Discsi_target.c1138 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); 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()
2050 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_handle_task_mgt_cmd()
2182 cmd->cmd_sn = be32_to_cpu(hdr->cmdsn); in iscsit_setup_text_cmd()
2236 (unsigned char *)hdr, hdr->cmdsn); in iscsit_process_text_cmd()
[all …]
A Discsi_target_util.h26 unsigned char * ,__be32 cmdsn);
A 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()
A Discsi_target_erl2.c283 ooo_cmdsn->cmdsn, conn->cid); in iscsit_discard_unacknowledged_ooo_cmdsns_for_conn()
/linux/include/scsi/
A Discsi_proto.h147 __be32 cmdsn; member
251 __be32 cmdsn; member
282 __be32 cmdsn; member
402 __be32 cmdsn; member
440 __be32 cmdsn; member
532 __be32 cmdsn; member
A Dlibiscsi.h107 __be32 cmdsn; member
282 uint32_t cmdsn; member
/linux/drivers/scsi/
A 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()
641 nop->cmdsn = cpu_to_be32(session->cmdsn); in iscsi_prep_mgmt_task()
654 session->cmdsn++; in iscsi_prep_mgmt_task()
1425 session->cmdsn, session->queued_cmdsn); in iscsi_check_cmdsn_window_closed()
1778 session->cmdsn--; in iscsi_queuecommand()
2240 hdr->refcmdsn = task->cmdsn; in iscsi_prep_abort_task_pdu()
2943 session->queued_cmdsn = session->cmdsn = initial_cmdsn; in iscsi_session_setup()
3176 session->queued_cmdsn = session->cmdsn; in iscsi_conn_start()
[all …]
/linux/drivers/target/iscsi/cxgbit/
A 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()
/linux/drivers/scsi/qedi/
A Dqedi_fw.c1012 login_req_pdu_header.cmd_sn = be32_to_cpu(login_hdr->cmdsn); in qedi_send_iscsi_login()
1106 logout_pdu_header.cmd_sn = be32_to_cpu(logout_hdr->cmdsn); in qedi_send_iscsi_logout()
1462 tmf_pdu_header.cmd_sn = be32_to_cpu(tmf_hdr->cmdsn); in send_iscsi_tmf()
1584 text_request_pdu_header.cmd_sn = be32_to_cpu(text_hdr->cmdsn); in qedi_send_iscsi_text()
1684 nop_out_pdu_header.cmd_sn = be32_to_cpu(nopout_hdr->cmdsn); in qedi_send_iscsi_nopout()
2046 cmd_pdu_header.cmd_sn = be32_to_cpu(hdr->cmdsn); in qedi_iscsi_send_ioreq()
/linux/drivers/scsi/bnx2i/
A 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()
A Dbnx2i_iscsi.c1245 cmd->req.cmd_sn = be32_to_cpu(hdr->cmdsn); in bnx2i_task_xmit()
/linux/include/target/iscsi/
A Discsi_target_core.h328 u32 cmdsn; member
/linux/drivers/infiniband/ulp/isert/
A Dib_isert.c1001 login->cmd_sn = be32_to_cpu(login_req->cmdsn); in isert_rx_login_req()
1102 rc = iscsit_sequence_cmd(conn, cmd, buf, hdr->cmdsn); in isert_handle_scsi_cmd()
/linux/drivers/scsi/be2iscsi/
A Dbe_main.c4529 be32_to_cpu(task->cmdsn)); in beiscsi_iotask_v2()
4589 be32_to_cpu(task->cmdsn)); in beiscsi_iotask()
4632 be32_to_cpu(task->cmdsn)); in beiscsi_mtask()
4650 be32_to_cpu(task->cmdsn)); in beiscsi_mtask()
/linux/drivers/scsi/cxgbi/
A Dlibcxgbi.c2169 be32_to_cpu(task->cmdsn), be32_to_cpu(task->hdr->itt), offset, count); in cxgbi_conn_init_pdu()

Completed in 95 milliseconds