Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/scsi/
Discsi_tcp.h33 struct iscsi_hdr *hdr;
63 struct iscsi_hdr hdrbuf;
Dlibiscsi_tcp.c408 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
622 struct iscsi_hdr *hdr = tcp_conn->in.hdr; in iscsi_tcp_process_data_in()
650 iscsi_tcp_hdr_dissect(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_hdr_dissect()
813 struct iscsi_hdr *hdr; in iscsi_tcp_hdr_recv_done()
819 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
820 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { in iscsi_tcp_hdr_recv_done()
Dlibiscsi.c657 struct iscsi_hdr *hdr = task->hdr; in iscsi_prep_mgmt_task()
700 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu()
773 task->hdr_len = sizeof(struct iscsi_hdr); in __iscsi_conn_send_pdu()
774 memcpy(task->hdr, hdr, sizeof(struct iscsi_hdr)); in __iscsi_conn_send_pdu()
807 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu()
833 static void iscsi_scsi_cmd_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_scsi_cmd_rsp()
936 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
967 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
1005 task = __iscsi_conn_send_pdu(conn, (struct iscsi_hdr *)&hdr, NULL, 0); in iscsi_send_nopout()
1029 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
[all …]
Dscsi_transport_iscsi.c2331 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2339 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2362 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2363 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3591 (struct iscsi_hdr*)((char*)ev + sizeof(*ev)), in iscsi_if_recv_msg()
/Linux-v4.19/drivers/scsi/qedi/
Dqedi_iscsi.h139 struct iscsi_hdr resp_hdr;
180 struct iscsi_hdr hdr;
233 #define qedi_get_itt(cqe) (cqe.iscsi_hdr.cmd.itt >> 16)
Dqedi_fw.c45 cqe_logout_response = &cqe->cqe_common.iscsi_hdr.logout_response; in qedi_process_logout_resp()
48 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in qedi_process_logout_resp()
78 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in qedi_process_logout_resp()
99 cqe_text_response = &cqe->cqe_common.iscsi_hdr.text_response; in qedi_process_text_resp()
102 memset(resp_hdr_ptr, 0, sizeof(struct iscsi_hdr)); in qedi_process_text_resp()
142 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, in qedi_process_text_resp()
177 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_tmf_resp_work()
198 cqe_tmp_response = &cqe->cqe_common.iscsi_hdr.tmf_response; in qedi_process_tmf_resp()
249 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_process_tmf_resp()
271 cqe_login_response = &cqe->cqe_common.iscsi_hdr.login_response; in qedi_process_login_resp()
[all …]
/Linux-v4.19/drivers/infiniband/ulp/isert/
Dib_isert.h40 sizeof(struct iscsi_hdr))
84 struct iscsi_hdr iscsi_header;
100 struct iscsi_hdr iscsi_header;
Dib_isert.c1009 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1311 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_rx_opcode()
1409 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_recv_done()
/Linux-v4.19/include/scsi/
Dlibiscsi.h115 struct iscsi_hdr *hdr;
457 extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
459 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
461 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
Dlibiscsi_tcp.h57 struct iscsi_hdr *hdr;
Dscsi_transport_iscsi.h117 int (*send_pdu) (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
186 extern int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
Discsi_proto.h87 struct iscsi_hdr { struct
/Linux-v4.19/drivers/infiniband/ulp/iser/
Discsi_iser.h158 #define ISER_HEADERS_LEN (sizeof(struct iser_ctrl) + sizeof(struct iscsi_hdr))
256 struct iscsi_hdr iscsi_header;
289 struct iscsi_hdr iscsi_header;
592 struct iscsi_hdr *hdr,
Diser_initiator.c323 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs()
461 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out()
563 struct iscsi_hdr *hdr; in iser_login_rsp()
604 struct iscsi_hdr *hdr) in iser_check_remote_inv()
648 struct iscsi_hdr *hdr; in iser_task_rsp()
Discsi_iser.c124 iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv()
165 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1419 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, in bnx2i_process_scsi_cmd_resp()
1454 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_login_resp()
1486 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_login_resp()
1521 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_text_resp()
1546 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_text_resp()
1581 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_tmf_resp()
1588 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_tmf_resp()
1620 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_logout_resp()
1633 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_logout_resp()
1704 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-v4.19/drivers/scsi/be2iscsi/
Dbe_main.h455 struct iscsi_scsi_req iscsi_hdr; member
479 struct iscsi_hdr iscsi_hdr; member
487 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()
4412 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4514 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4567 &io_task->cmd_bhs->iscsi_hdr.lun)); in beiscsi_iotask_v2()
[all …]
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_iocb.c414 sizeof(struct iscsi_hdr), task->data, task->data_count); in qla4xxx_send_passthru0()
422 sizeof(struct iscsi_hdr)); in qla4xxx_send_passthru0()
/Linux-v4.19/include/linux/qed/
Discsi_common.h1083 union iscsi_task_hdr iscsi_hdr; member
1097 union iscsi_task_hdr iscsi_hdr; member
1110 union iscsi_task_hdr iscsi_hdr; member
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.h64 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
Dlibcxgbi.c1623 struct iscsi_hdr *hdr = (struct iscsi_hdr *)skb->data; in skb_read_pdu_bhs()
1915 task->hdr = (struct iscsi_hdr *)tdata->skb->data; in cxgbi_conn_alloc_pdu()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1216 struct iscsi_hdr *hdr = (struct iscsi_hdr *)pdu_cb->hdr; in cxgbit_target_rx_opcode()
1295 struct iscsi_hdr *hdr = pdu_cb->hdr; in cxgbit_rx_opcode()

12