Home
last modified time | relevance | path

Searched refs:iscsi_hdr (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/drivers/scsi/
Discsi_tcp.h24 struct iscsi_hdr *hdr;
59 struct iscsi_hdr hdrbuf;
Dlibiscsi_tcp.c406 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
529 static int iscsi_tcp_r2t_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_r2t_rsp()
661 struct iscsi_hdr *hdr = tcp_conn->in.hdr; in iscsi_tcp_process_data_in()
689 iscsi_tcp_hdr_dissect(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_hdr_dissect()
843 struct iscsi_hdr *hdr; in iscsi_tcp_hdr_recv_done()
849 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
850 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { in iscsi_tcp_hdr_recv_done()
Dlibiscsi.c656 struct iscsi_hdr *hdr = task->hdr; in iscsi_prep_mgmt_task()
706 iscsi_alloc_mgmt_task(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_alloc_mgmt_task()
779 task->hdr_len = sizeof(struct iscsi_hdr); in iscsi_alloc_mgmt_task()
780 memcpy(task->hdr, hdr, sizeof(struct iscsi_hdr)); in iscsi_alloc_mgmt_task()
827 static int __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu()
843 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu()
869 static void iscsi_scsi_cmd_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_scsi_cmd_rsp()
965 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
996 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
1037 task = iscsi_alloc_mgmt_task(conn, (struct iscsi_hdr *)&hdr, NULL, 0); in iscsi_send_nopout()
[all …]
Dscsi_transport_iscsi.c2566 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2574 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2597 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2598 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3872 (struct iscsi_hdr *)((char *)ev + sizeof(*ev)), in iscsi_if_transport_conn()
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.h138 struct iscsi_hdr resp_hdr;
180 struct iscsi_hdr hdr;
234 #define qedi_get_itt(cqe) (cqe.iscsi_hdr.cmd.itt >> 16)
Dqedi_fw.c42 cqe_logout_response = &cqe->cqe_common.iscsi_hdr.logout_response; in qedi_process_logout_resp()
45 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in qedi_process_logout_resp()
76 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in qedi_process_logout_resp()
97 cqe_text_response = &cqe->cqe_common.iscsi_hdr.text_response; in qedi_process_text_resp()
100 memset(resp_hdr_ptr, 0, sizeof(struct iscsi_hdr)); in qedi_process_text_resp()
141 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, in qedi_process_text_resp()
166 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_tmf_resp_work()
190 cqe_tmp_response = &cqe->cqe_common.iscsi_hdr.tmf_response; in qedi_process_tmf_resp()
250 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_process_tmf_resp()
272 cqe_login_response = &cqe->cqe_common.iscsi_hdr.login_response; in qedi_process_login_resp()
[all …]
/linux-6.1.9/drivers/infiniband/ulp/iser/
Discsi_iser.h150 #define ISER_HEADERS_LEN (sizeof(struct iser_ctrl) + sizeof(struct iscsi_hdr))
239 struct iscsi_hdr iscsi_header;
267 struct iscsi_hdr iscsi_header;
487 struct iscsi_hdr *hdr,
Diser_initiator.c299 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs()
436 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out()
537 struct iscsi_hdr *hdr; in iser_login_rsp()
589 struct iscsi_hdr *hdr) in iser_check_remote_inv()
635 struct iscsi_hdr *hdr; in iser_task_rsp()
Discsi_iser.c138 void iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv()
178 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
/linux-6.1.9/include/scsi/
Dlibiscsi.h105 struct iscsi_hdr *hdr;
470 extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
472 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
474 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
Dlibiscsi_tcp.h46 struct iscsi_hdr *hdr;
Dscsi_transport_iscsi.h105 int (*send_pdu) (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
174 extern int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
Discsi_proto.h76 struct iscsi_hdr { struct
/linux-6.1.9/drivers/infiniband/ulp/isert/
Dib_isert.h40 sizeof(struct iscsi_hdr))
126 struct iscsi_hdr iscsi_header;
Dib_isert.c925 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1223 struct iscsi_hdr *hdr = isert_get_iscsi_hdr(rx_desc); in isert_rx_opcode()
1321 struct iscsi_hdr *hdr = isert_get_iscsi_hdr(rx_desc); in isert_recv_done()
/linux-6.1.9/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1417 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, in bnx2i_process_scsi_cmd_resp()
1452 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_login_resp()
1484 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_login_resp()
1519 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_text_resp()
1544 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_text_resp()
1579 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_tmf_resp()
1586 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_tmf_resp()
1618 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_logout_resp()
1631 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_logout_resp()
1702 memset(hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_nopin_mesg()
[all …]
Dbnx2i.h200 struct iscsi_hdr resp_hdr;
258 struct iscsi_hdr hdr;
/linux-6.1.9/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/linux-6.1.9/drivers/scsi/be2iscsi/
Dbe_main.h450 struct iscsi_scsi_req iscsi_hdr; member
474 struct iscsi_hdr iscsi_hdr; member
482 struct iscsi_scsi_req iscsi_hdr; member
Dbe_main.c1174 if (io_task->cmd_bhs->iscsi_hdr.flags & ISCSI_FLAG_CMD_READ) in be_complete_io()
1208 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_logout()
1229 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_tmf()
1284 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_nopin_resp()
1430 struct iscsi_hdr *login_hdr; in beiscsi_complete_pdu()
1453 login_hdr = (struct iscsi_hdr *)phdr; in beiscsi_complete_pdu()
1463 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); in beiscsi_complete_pdu()
4388 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4487 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4540 &io_task->cmd_bhs->iscsi_hdr.lun)); in beiscsi_iotask_v2()
[all …]
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_iocb.c413 sizeof(struct iscsi_hdr), task->data, task->data_count); in qla4xxx_send_passthru0()
421 sizeof(struct iscsi_hdr)); in qla4xxx_send_passthru0()
/linux-6.1.9/include/linux/qed/
Discsi_common.h1045 union iscsi_task_hdr iscsi_hdr; member
1059 union iscsi_task_hdr iscsi_hdr; member
1072 union iscsi_task_hdr iscsi_hdr; member
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1211 struct iscsi_hdr *hdr = (struct iscsi_hdr *)pdu_cb->hdr; in cxgbit_target_rx_opcode()
1290 struct iscsi_hdr *hdr = pdu_cb->hdr; in cxgbit_rx_opcode()
/linux-6.1.9/drivers/scsi/cxgbi/
Dlibcxgbi.h64 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
/linux-6.1.9/drivers/target/iscsi/
Discsi_target.c502 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu()
3979 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; in iscsi_target_rx_opcode()
4070 struct iscsi_hdr *hdr; in iscsit_get_rx_pdu()
4095 hdr = (struct iscsi_hdr *) buffer; in iscsit_get_rx_pdu()

12