/linux/drivers/scsi/ |
H A D | iscsi_tcp.h | 24 struct iscsi_hdr *hdr; 57 struct iscsi_hdr hdrbuf;
|
H A D | libiscsi_tcp.c | 406 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()
|
H A D | libiscsi.c | 656 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 …]
|
H A D | scsi_transport_iscsi.c | 2568 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu() 2576 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu() 2599 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu() 2600 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu() 3893 (struct iscsi_hdr *)((char *)ev + sizeof(*ev)), in iscsi_if_transport_conn()
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.h | 138 struct iscsi_hdr resp_hdr; 180 struct iscsi_hdr hdr; 234 #define qedi_get_itt(cqe) (cqe.iscsi_hdr.cmd.itt >> 16)
|
H A D | qedi_fw.c | 42 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/drivers/infiniband/ulp/iser/ |
H A D | iscsi_iser.h | 150 #define ISER_HEADERS_LEN (sizeof(struct iser_ctrl) + sizeof(struct iscsi_hdr)) 239 struct iscsi_hdr iscsi_header; 267 struct iscsi_hdr iscsi_header; 484 struct iscsi_hdr *hdr,
|
H A D | iser_initiator.c | 303 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs() 439 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out() 538 struct iscsi_hdr *hdr; in iser_login_rsp() 593 struct iscsi_hdr *hdr) in iser_check_remote_inv() 639 struct iscsi_hdr *hdr; in iser_task_rsp()
|
H A D | iscsi_iser.c | 138 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/include/scsi/ |
H A D | libiscsi.h | 105 struct iscsi_hdr *hdr; 472 extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *, 474 extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, 476 extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *,
|
H A D | libiscsi_tcp.h | 46 struct iscsi_hdr *hdr;
|
H A D | scsi_transport_iscsi.h | 105 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,
|
H A D | iscsi_proto.h | 76 struct iscsi_hdr { struct
|
/linux/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.h | 40 sizeof(struct iscsi_hdr)) 126 struct iscsi_hdr iscsi_header;
|
H A D | ib_isert.c | 926 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/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 1417 __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 …]
|
H A D | bnx2i.h | 200 struct iscsi_hdr resp_hdr; 258 struct iscsi_hdr hdr;
|
/linux/drivers/scsi/cxgbi/cxgb3i/ |
H A D | cxgb3i.h | 19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_main.h | 449 struct iscsi_scsi_req iscsi_hdr; member 473 struct iscsi_hdr iscsi_hdr; member 481 struct iscsi_scsi_req iscsi_hdr; member
|
H A D | be_main.c | 1174 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() 4389 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu() 4488 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu() 4541 &io_task->cmd_bhs->iscsi_hdr.lun)); in beiscsi_iotask_v2() [all …]
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_iocb.c | 413 sizeof(struct iscsi_hdr), task->data, task->data_count); in qla4xxx_send_passthru0() 421 sizeof(struct iscsi_hdr)); in qla4xxx_send_passthru0()
|
/linux/include/linux/qed/ |
H A D | iscsi_common.h | 1045 union iscsi_task_hdr iscsi_hdr; member 1059 union iscsi_task_hdr iscsi_hdr; member 1072 union iscsi_task_hdr iscsi_hdr; member
|
/linux/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 1211 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/drivers/scsi/cxgbi/ |
H A D | libcxgbi.h | 63 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
|
/linux/drivers/target/iscsi/ |
H A D | iscsi_target.c | 501 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu() 3974 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; in iscsi_target_rx_opcode() 4065 struct iscsi_hdr *hdr; in iscsit_get_rx_pdu() 4090 hdr = (struct iscsi_hdr *) buffer; in iscsit_get_rx_pdu()
|