Lines Matching refs:iser_task
72 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()
117 struct iser_data_buf *pdata = &iser_task->prot[iser_dir]; in iser_dma_unmap_task_data()
148 void iser_unreg_mem_fastreg(struct iscsi_iser_task *iser_task, in iser_unreg_mem_fastreg() argument
151 struct iser_mem_reg *reg = &iser_task->rdma_reg[cmd_dir]; in iser_unreg_mem_fastreg()
172 iser_reg_desc_put_fr(&iser_task->iser_conn->ib_conn, reg->desc); in iser_unreg_mem_fastreg()
247 static int iser_reg_sig_mr(struct iscsi_iser_task *iser_task, in iser_reg_sig_mr() argument
253 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_reg_sig_mr()
254 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_reg_sig_mr()
261 ret = iser_set_sig_attrs(iser_task->sc, sig_attrs); in iser_reg_sig_mr()
265 iser_set_prot_checks(iser_task->sc, &sig_attrs->check_mask); in iser_reg_sig_mr()
305 static int iser_fast_reg_mr(struct iscsi_iser_task *iser_task, in iser_fast_reg_mr() argument
310 struct iser_tx_desc *tx_desc = &iser_task->desc; in iser_fast_reg_mr()
311 struct ib_cqe *cqe = &iser_task->iser_conn->ib_conn.reg_cqe; in iser_fast_reg_mr()