Home
last modified time | relevance | path

Searched refs:iser_task (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_initiator.c51 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_read_cmd() local
54 struct iser_ctrl *hdr = &iser_task->desc.iser_header; in iser_prepare_read_cmd()
56 err = iser_dma_map_task_data(iser_task, in iser_prepare_read_cmd()
62 err = iser_reg_mem_fastreg(iser_task, ISER_DIR_IN, false); in iser_prepare_read_cmd()
67 mem_reg = &iser_task->rdma_reg[ISER_DIR_IN]; in iser_prepare_read_cmd()
80 iser_dma_unmap_task_data(iser_task, ISER_DIR_IN, DMA_FROM_DEVICE); in iser_prepare_read_cmd()
92 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_write_cmd() local
95 struct iser_ctrl *hdr = &iser_task->desc.iser_header; in iser_prepare_write_cmd()
96 struct iser_data_buf *buf_out = &iser_task->data[ISER_DIR_OUT]; in iser_prepare_write_cmd()
97 struct ib_sge *tx_dsg = &iser_task->desc.tx_sg[1]; in iser_prepare_write_cmd()
[all …]
Diser_memory.c72 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task, in iser_dma_map_task_data() argument
76 struct iser_data_buf *data = &iser_task->data[iser_dir]; in iser_dma_map_task_data()
79 iser_task->dir[iser_dir] = 1; in iser_dma_map_task_data()
80 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data()
88 if (scsi_prot_sg_count(iser_task->sc)) { in iser_dma_map_task_data()
89 struct iser_data_buf *pdata = &iser_task->prot[iser_dir]; in iser_dma_map_task_data()
106 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task, in iser_dma_unmap_task_data() argument
110 struct iser_data_buf *data = &iser_task->data[iser_dir]; in iser_dma_unmap_task_data()
113 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
116 if (scsi_prot_sg_count(iser_task->sc)) { in iser_dma_unmap_task_data()
[all …]
Discsi_iser.c176 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_pdu_alloc() local
178 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
179 task->hdr_max = sizeof(iser_task->desc.iscsi_header); in iscsi_iser_pdu_alloc()
200 struct iscsi_iser_task *iser_task = task->dd_data; in iser_initialize_task_headers() local
219 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
235 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_task_init() local
238 ret = iser_initialize_task_headers(task, &iser_task->desc); in iscsi_iser_task_init()
241 iser_task, ret); in iscsi_iser_task_init()
249 iser_task->command_sent = 0; in iscsi_iser_task_init()
250 iser_task_rdma_init(iser_task); in iscsi_iser_task_init()
[all …]
Discsi_iser.h513 void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_task *iser_task,
533 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task,
537 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task,
549 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task,
Diser_verbs.c905 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task, in iser_check_task_pi_status() argument
908 struct iser_mem_reg *reg = &iser_task->rdma_reg[cmd_dir]; in iser_check_task_pi_status()
910 unsigned long sector_size = iser_task->sc->device->sector_size; in iser_check_task_pi_status()
929 *sector = scsi_get_sector(iser_task->sc) + sector_off; in iser_check_task_pi_status()