Home
last modified time | relevance | path

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

/linux-4.4.14/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()
929 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
960 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
998 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.c2349 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2357 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2380 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2381 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3610 (struct iscsi_hdr*)((char*)ev + sizeof(*ev)), in iscsi_if_recv_msg()
/linux-4.4.14/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.4.14/drivers/infiniband/ulp/iser/
Discsi_iser.h193 #define ISER_HEADERS_LEN (sizeof(struct iser_hdr) + sizeof(struct iscsi_hdr))
291 struct iscsi_hdr iscsi_header;
322 struct iscsi_hdr iscsi_header;
624 struct iscsi_hdr *hdr,
Diser_initiator.c330 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs()
468 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out()
574 struct iscsi_hdr *hdr; in iser_rcv_completion()
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-4.4.14/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.c1149 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1464 struct iscsi_hdr *hdr = &rx_desc->iscsi_header; in isert_rx_opcode()
1585 struct iscsi_hdr *hdr; in isert_rcv_completion()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/linux-4.4.14/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.4.14/drivers/scsi/be2iscsi/
Dbe_main.h493 struct iscsi_scsi_req iscsi_hdr; member
520 struct iscsi_hdr iscsi_hdr; member
528 struct iscsi_scsi_req iscsi_hdr; member
Dbe_main.c1106 struct iscsi_hdr *login_hdr; in beiscsi_process_async_pdu()
1127 login_hdr = (struct iscsi_hdr *)ppdu; in beiscsi_process_async_pdu()
1141 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)ppdu, pbuffer, buf_len); in beiscsi_process_async_pdu()
1370 if (io_task->cmd_bhs->iscsi_hdr.flags & ISCSI_FLAG_CMD_READ) in be_complete_io()
1404 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_logout()
1425 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_tmf()
1479 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_nopin_resp()
4761 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4869 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4909 io_task->cmd_bhs->iscsi_hdr.exp_statsn = 0; in beiscsi_iotask_v2()
[all …]
/linux-4.4.14/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.c3305 struct iscsi_hdr *hdr; in qla4xxx_task_work()
3316 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_work()
3327 hdr = (struct iscsi_hdr *)task_data->resp_buffer; in qla4xxx_task_work()
3363 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_alloc_pdu()
3417 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_cleanup()
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h61 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
Dlibcxgbi.c2124 task->hdr = (struct iscsi_hdr *)tdata->skb->data; in cxgbi_conn_alloc_pdu()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target.c4002 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; in iscsi_target_rx_opcode()