Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
55 struct iser_data_buf *buf_in = &iser_task->data[ISER_DIR_IN]; in iser_prepare_read_cmd()
57 err = iser_dma_map_task_data(iser_task, in iser_prepare_read_cmd()
64 if (scsi_prot_sg_count(iser_task->sc)) { in iser_prepare_read_cmd()
65 struct iser_data_buf *pbuf_in = &iser_task->prot[ISER_DIR_IN]; in iser_prepare_read_cmd()
67 err = iser_dma_map_task_data(iser_task, in iser_prepare_read_cmd()
75 err = iser_reg_mem_fastreg(iser_task, ISER_DIR_IN, false); in iser_prepare_read_cmd()
80 mem_reg = &iser_task->rdma_reg[ISER_DIR_IN]; in iser_prepare_read_cmd()
104 struct iscsi_iser_task *iser_task = task->dd_data; in iser_prepare_write_cmd() local
[all …]
Diser_memory.c75 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task, in iser_dma_map_task_data() argument
82 iser_task->dir[iser_dir] = 1; in iser_dma_map_task_data()
83 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_map_task_data()
93 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task, in iser_dma_unmap_task_data() argument
99 dev = iser_task->iser_conn->ib_conn.device->ib_device; in iser_dma_unmap_task_data()
129 void iser_unreg_mem_fastreg(struct iscsi_iser_task *iser_task, in iser_unreg_mem_fastreg() argument
132 struct iser_mem_reg *reg = &iser_task->rdma_reg[cmd_dir]; in iser_unreg_mem_fastreg()
153 iser_reg_desc_put_fr(&iser_task->iser_conn->ib_conn, reg->mem_h); in iser_unreg_mem_fastreg()
233 iser_reg_sig_mr(struct iscsi_iser_task *iser_task, in iser_reg_sig_mr() argument
239 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_reg_sig_mr()
[all …]
Discsi_iser.c163 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_pdu_alloc() local
165 task->hdr = (struct iscsi_hdr *)&iser_task->desc.iscsi_header; in iscsi_iser_pdu_alloc()
166 task->hdr_max = sizeof(iser_task->desc.iscsi_header); in iscsi_iser_pdu_alloc()
188 struct iscsi_iser_task *iser_task = task->dd_data; in iser_initialize_task_headers() local
216 iser_task->iser_conn = iser_conn; in iser_initialize_task_headers()
236 struct iscsi_iser_task *iser_task = task->dd_data; in iscsi_iser_task_init() local
239 ret = iser_initialize_task_headers(task, &iser_task->desc); in iscsi_iser_task_init()
242 iser_task, ret); in iscsi_iser_task_init()
250 iser_task->command_sent = 0; in iscsi_iser_task_init()
251 iser_task_rdma_init(iser_task); in iscsi_iser_task_init()
[all …]
Discsi_iser.h531 void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_task *iser_task,
551 int iser_dma_map_task_data(struct iscsi_iser_task *iser_task,
556 void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task,
568 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task,
Diser_verbs.c928 u8 iser_check_task_pi_status(struct iscsi_iser_task *iser_task, in iser_check_task_pi_status() argument
931 struct iser_mem_reg *reg = &iser_task->rdma_reg[cmd_dir]; in iser_check_task_pi_status()
933 unsigned long sector_size = iser_task->sc->device->sector_size; in iser_check_task_pi_status()
952 *sector = scsi_get_lba(iser_task->sc) + sector_off; in iser_check_task_pi_status()