Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/scsi/
Discsi_tcp.h24 struct iscsi_hdr *hdr;
54 struct iscsi_hdr hdrbuf;
Dlibiscsi_tcp.c406 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
620 struct iscsi_hdr *hdr = tcp_conn->in.hdr; in iscsi_tcp_process_data_in()
648 iscsi_tcp_hdr_dissect(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_hdr_dissect()
811 struct iscsi_hdr *hdr; in iscsi_tcp_hdr_recv_done()
817 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
818 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { in iscsi_tcp_hdr_recv_done()
Dlibiscsi.c614 struct iscsi_hdr *hdr = task->hdr; in iscsi_prep_mgmt_task()
657 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu()
730 task->hdr_len = sizeof(struct iscsi_hdr); in __iscsi_conn_send_pdu()
731 memcpy(task->hdr, hdr, sizeof(struct iscsi_hdr)); in __iscsi_conn_send_pdu()
764 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu()
790 static void iscsi_scsi_cmd_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_scsi_cmd_rsp()
889 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
920 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
958 task = __iscsi_conn_send_pdu(conn, (struct iscsi_hdr *)&hdr, NULL, 0); in iscsi_send_nopout()
992 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
[all …]
Dscsi_transport_iscsi.c2335 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2343 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2366 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2367 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3595 (struct iscsi_hdr*)((char*)ev + sizeof(*ev)), in iscsi_if_recv_msg()
/Linux-v5.4/drivers/scsi/qedi/
Dqedi_iscsi.h137 struct iscsi_hdr resp_hdr;
178 struct iscsi_hdr hdr;
231 #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()
75 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in qedi_process_logout_resp()
96 cqe_text_response = &cqe->cqe_common.iscsi_hdr.text_response; in qedi_process_text_resp()
99 memset(resp_hdr_ptr, 0, sizeof(struct iscsi_hdr)); in qedi_process_text_resp()
139 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, in qedi_process_text_resp()
172 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_tmf_resp_work()
193 cqe_tmp_response = &cqe->cqe_common.iscsi_hdr.tmf_response; in qedi_process_tmf_resp()
244 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr_ptr, NULL, 0); in qedi_process_tmf_resp()
266 cqe_login_response = &cqe->cqe_common.iscsi_hdr.login_response; in qedi_process_login_resp()
[all …]
/Linux-v5.4/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.c1001 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1303 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_rx_opcode()
1401 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_recv_done()
/Linux-v5.4/include/scsi/
Dlibiscsi.h102 struct iscsi_hdr *hdr;
444 extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
446 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
448 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
Dlibiscsi_tcp.h46 struct iscsi_hdr *hdr;
Dscsi_transport_iscsi.h104 int (*send_pdu) (struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
173 extern int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr,
Discsi_proto.h76 struct iscsi_hdr { struct
/Linux-v5.4/drivers/infiniband/ulp/iser/
Discsi_iser.h159 #define ISER_HEADERS_LEN (sizeof(struct iser_ctrl) + sizeof(struct iscsi_hdr))
247 struct iscsi_hdr iscsi_header;
274 struct iscsi_hdr iscsi_header;
564 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()
609 struct iscsi_hdr *hdr) in iser_check_remote_inv()
655 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-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/Linux-v5.4/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1416 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, in bnx2i_process_scsi_cmd_resp()
1451 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_login_resp()
1483 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_login_resp()
1518 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_text_resp()
1543 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_text_resp()
1578 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_tmf_resp()
1585 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_tmf_resp()
1617 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_logout_resp()
1630 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_logout_resp()
1701 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-v5.4/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.c1157 if (io_task->cmd_bhs->iscsi_hdr.flags & ISCSI_FLAG_CMD_READ) in be_complete_io()
1191 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_logout()
1212 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_tmf()
1267 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_nopin_resp()
1413 struct iscsi_hdr *login_hdr; in beiscsi_complete_pdu()
1436 login_hdr = (struct iscsi_hdr *)phdr; in beiscsi_complete_pdu()
1446 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); in beiscsi_complete_pdu()
4394 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4496 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4549 &io_task->cmd_bhs->iscsi_hdr.lun)); in beiscsi_iotask_v2()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.h64 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
Dlibcxgbi.c1627 struct iscsi_hdr *hdr = (struct iscsi_hdr *)skb->data; in skb_read_pdu_bhs()
1919 task->hdr = (struct iscsi_hdr *)tdata->skb->data; in cxgbi_conn_alloc_pdu()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1213 struct iscsi_hdr *hdr = (struct iscsi_hdr *)pdu_cb->hdr; in cxgbit_target_rx_opcode()
1292 struct iscsi_hdr *hdr = pdu_cb->hdr; in cxgbit_rx_opcode()

12