Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/
Discsi_tcp.h33 struct iscsi_hdr *hdr;
63 struct iscsi_hdr hdrbuf;
Dlibiscsi_tcp.c403 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
617 struct iscsi_hdr *hdr = tcp_conn->in.hdr; in iscsi_tcp_process_data_in()
645 iscsi_tcp_hdr_dissect(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_hdr_dissect()
806 struct iscsi_hdr *hdr; in iscsi_tcp_hdr_recv_done()
812 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
813 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { in iscsi_tcp_hdr_recv_done()
Dlibiscsi.c652 struct iscsi_hdr *hdr = task->hdr; in iscsi_prep_mgmt_task()
695 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu()
768 task->hdr_len = sizeof(struct iscsi_hdr); in __iscsi_conn_send_pdu()
769 memcpy(task->hdr, hdr, sizeof(struct iscsi_hdr)); in __iscsi_conn_send_pdu()
800 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu()
826 static void iscsi_scsi_cmd_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_scsi_cmd_rsp()
932 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
963 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
1001 task = __iscsi_conn_send_pdu(conn, (struct iscsi_hdr *)&hdr, NULL, 0); in iscsi_send_nopout()
1022 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
[all …]
Dscsi_transport_iscsi.c2346 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2354 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2377 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2378 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3606 (struct iscsi_hdr*)((char*)ev + sizeof(*ev)), in iscsi_if_recv_msg()
/linux-4.1.27/include/scsi/
Dlibiscsi.h114 struct iscsi_hdr *hdr;
454 extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *,
456 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
458 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-4.1.27/drivers/infiniband/ulp/iser/
Discsi_iser.h188 #define ISER_HEADERS_LEN (sizeof(struct iser_hdr) + sizeof(struct iscsi_hdr))
277 struct iscsi_hdr iscsi_header;
299 struct iscsi_hdr iscsi_header;
573 struct iscsi_hdr *hdr,
Diser_initiator.c337 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs()
475 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out()
581 struct iscsi_hdr *hdr; in iser_rcv_completion()
Discsi_iser.c116 iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv()
161 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
/linux-4.1.27/drivers/infiniband/ulp/isert/
Dib_isert.h61 struct iscsi_hdr iscsi_header;
70 struct iscsi_hdr iscsi_header;
Disert_proto.h13 #define ISER_HEADERS_LEN (sizeof(struct iser_hdr) + sizeof(struct iscsi_hdr))
Dib_isert.c1172 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1466 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_rx_opcode()
1590 struct iscsi_hdr *hdr; in isert_rcv_completion()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1434 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, in bnx2i_process_scsi_cmd_resp()
1469 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_login_resp()
1501 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_login_resp()
1536 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_text_resp()
1561 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, in bnx2i_process_text_resp()
1596 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_tmf_resp()
1603 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_tmf_resp()
1635 memset(resp_hdr, 0, sizeof(struct iscsi_hdr)); in bnx2i_process_logout_resp()
1648 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)resp_hdr, NULL, 0); in bnx2i_process_logout_resp()
1719 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;
Dbnx2i_iscsi.c503 task->hdr_max = sizeof(struct iscsi_hdr); in bnx2i_setup_cmd_pool()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_main.h489 struct iscsi_scsi_req iscsi_hdr; member
515 struct iscsi_hdr iscsi_hdr; member
523 struct iscsi_scsi_req iscsi_hdr; member
Dbe_main.c1094 struct iscsi_hdr *login_hdr; in beiscsi_process_async_pdu()
1115 login_hdr = (struct iscsi_hdr *)ppdu; in beiscsi_process_async_pdu()
1129 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)ppdu, pbuffer, buf_len); in beiscsi_process_async_pdu()
1356 if (io_task->cmd_bhs->iscsi_hdr.flags & ISCSI_FLAG_CMD_READ) in be_complete_io()
1388 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_logout()
1409 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_tmf()
1463 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_nopin_resp()
4719 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4824 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4864 io_task->cmd_bhs->iscsi_hdr.exp_statsn = 0; in beiscsi_iotask_v2()
[all …]
/linux-4.1.27/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()
Dql4_os.c3306 struct iscsi_hdr *hdr; in qla4xxx_task_work()
3317 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_work()
3328 hdr = (struct iscsi_hdr *)task_data->resp_buffer; in qla4xxx_task_work()
3364 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_alloc_pdu()
3418 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_cleanup()
/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.h61 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
Dlibcxgbi.c2120 task->hdr = (struct iscsi_hdr *)tdata->skb->data; in cxgbi_conn_alloc_pdu()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target.c4015 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; in iscsi_target_rx_opcode()