Home
last modified time | relevance | path

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

/drivers/scsi/
Discsi_tcp.h24 struct iscsi_hdr *hdr;
59 struct iscsi_hdr hdrbuf;
Dlibiscsi_tcp.c406 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()
657 struct iscsi_hdr *hdr = tcp_conn->in.hdr; in iscsi_tcp_process_data_in()
685 iscsi_tcp_hdr_dissect(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tcp_hdr_dissect()
839 struct iscsi_hdr *hdr; in iscsi_tcp_hdr_recv_done()
845 hdr = (struct iscsi_hdr *) tcp_conn->in.hdr_buf; in iscsi_tcp_hdr_recv_done()
846 if (segment->copied == sizeof(struct iscsi_hdr) && hdr->hlength) { in iscsi_tcp_hdr_recv_done()
Dlibiscsi.c639 struct iscsi_hdr *hdr = task->hdr; in iscsi_prep_mgmt_task()
682 __iscsi_conn_send_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in __iscsi_conn_send_pdu()
756 task->hdr_len = sizeof(struct iscsi_hdr); in __iscsi_conn_send_pdu()
757 memcpy(task->hdr, hdr, sizeof(struct iscsi_hdr)); in __iscsi_conn_send_pdu()
791 int iscsi_conn_send_pdu(struct iscsi_cls_conn *cls_conn, struct iscsi_hdr *hdr, in iscsi_conn_send_pdu()
817 static void iscsi_scsi_cmd_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_scsi_cmd_rsp()
913 iscsi_data_in_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_data_in_rsp()
944 static void iscsi_tmf_rsp(struct iscsi_conn *conn, struct iscsi_hdr *hdr) in iscsi_tmf_rsp()
986 task = __iscsi_conn_send_pdu(conn, (struct iscsi_hdr *)&hdr, NULL, 0); in iscsi_send_nopout()
1021 if (iscsi_recv_pdu(conn->cls_conn, (struct iscsi_hdr *)nop, in iscsi_nop_out_rsp()
[all …]
Dscsi_transport_iscsi.c2587 int iscsi_recv_pdu(struct iscsi_cls_conn *conn, struct iscsi_hdr *hdr, in iscsi_recv_pdu()
2595 int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + in iscsi_recv_pdu()
2618 memcpy(pdu, hdr, sizeof(struct iscsi_hdr)); in iscsi_recv_pdu()
2619 memcpy(pdu + sizeof(struct iscsi_hdr), data, data_size); in iscsi_recv_pdu()
3912 (struct iscsi_hdr *)((char *)ev + sizeof(*ev)), in iscsi_if_transport_conn()
/drivers/scsi/qedi/
Dqedi_iscsi.h138 struct iscsi_hdr resp_hdr;
180 struct iscsi_hdr hdr;
234 #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()
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 …]
Dqedi_iscsi.c217 task->hdr_max = sizeof(struct iscsi_hdr); in qedi_setup_cmd_pool()
/drivers/infiniband/ulp/iser/
Discsi_iser.h154 #define ISER_HEADERS_LEN (sizeof(struct iser_ctrl) + sizeof(struct iscsi_hdr))
243 struct iscsi_hdr iscsi_header;
271 struct iscsi_hdr iscsi_header;
502 struct iscsi_hdr *hdr,
Diser_initiator.c322 static int iser_post_rx_bufs(struct iscsi_conn *conn, struct iscsi_hdr *req) in iser_post_rx_bufs()
465 memcpy(&tx_desc->iscsi_header, hdr, sizeof(struct iscsi_hdr)); in iser_send_data_out()
567 struct iscsi_hdr *hdr; in iser_login_rsp()
616 struct iscsi_hdr *hdr) in iser_check_remote_inv()
662 struct iscsi_hdr *hdr; in iser_task_rsp()
Discsi_iser.c143 iscsi_iser_recv(struct iscsi_conn *conn, struct iscsi_hdr *hdr, in iscsi_iser_recv()
184 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
/drivers/infiniband/ulp/isert/
Dib_isert.h40 sizeof(struct iscsi_hdr))
126 struct iscsi_hdr iscsi_header;
Dib_isert.c928 sizeof(struct iscsi_hdr)); in isert_put_login_tx()
1226 struct iscsi_hdr *hdr = isert_get_iscsi_hdr(rx_desc); in isert_rx_opcode()
1324 struct iscsi_hdr *hdr = isert_get_iscsi_hdr(rx_desc); in isert_recv_done()
/drivers/scsi/bnx2i/
Dbnx2i_hwi.c1417 __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 …]
Dbnx2i.h200 struct iscsi_hdr resp_hdr;
258 struct iscsi_hdr hdr;
Dbnx2i_iscsi.c502 task->hdr_max = sizeof(struct iscsi_hdr); in bnx2i_setup_cmd_pool()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.h19 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE + 2*ISCSI_DIGEST_SIZE)
/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.c1155 if (io_task->cmd_bhs->iscsi_hdr.flags & ISCSI_FLAG_CMD_READ) in be_complete_io()
1189 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_logout()
1210 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_tmf()
1265 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)hdr, NULL, 0); in be_complete_nopin_resp()
1411 struct iscsi_hdr *login_hdr; in beiscsi_complete_pdu()
1434 login_hdr = (struct iscsi_hdr *)phdr; in beiscsi_complete_pdu()
1444 __iscsi_complete_pdu(conn, (struct iscsi_hdr *)phdr, pdata, dlen); in beiscsi_complete_pdu()
4370 task->hdr = (struct iscsi_hdr *)&io_task->cmd_bhs->iscsi_hdr; in beiscsi_alloc_pdu()
4469 io_task->cmd_bhs->iscsi_hdr.itt = itt; in beiscsi_alloc_pdu()
4522 &io_task->cmd_bhs->iscsi_hdr.lun)); in beiscsi_iotask_v2()
[all …]
/drivers/scsi/qla4xxx/
Dql4_iocb.c413 sizeof(struct iscsi_hdr), task->data, task->data_count); in qla4xxx_send_passthru0()
421 sizeof(struct iscsi_hdr)); in qla4xxx_send_passthru0()
Dql4_os.c3357 struct iscsi_hdr *hdr; in qla4xxx_task_work()
3368 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_work()
3379 hdr = (struct iscsi_hdr *)task_data->resp_buffer; in qla4xxx_task_work()
3415 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_alloc_pdu()
3469 hdr_len = sizeof(struct iscsi_hdr); in qla4xxx_task_cleanup()
/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1211 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()
/drivers/scsi/cxgbi/
Dlibcxgbi.h64 (sizeof(struct iscsi_hdr) + ISCSI_MAX_AHS_SIZE)
Dlibcxgbi.c1552 struct iscsi_hdr *hdr = (struct iscsi_hdr *)skb->data; in skb_read_pdu_bhs()
2028 task->hdr = (struct iscsi_hdr *)tdata->skb->data; in cxgbi_conn_alloc_pdu()
/drivers/target/iscsi/
Discsi_target.c502 struct iscsi_hdr *hdr = (struct iscsi_hdr *)cmd->pdu; in iscsit_xmit_nondatain_pdu()
3867 struct iscsi_hdr *hdr = (struct iscsi_hdr *)buf; in iscsi_target_rx_opcode()