Home
last modified time | relevance | path

Searched refs:sgt_append (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/infiniband/core/
A Dumem.c55 ib_dma_unmap_sgtable_attrs(dev, &umem->sgt_append.sgt, in __ib_umem_release()
58 for_each_sgtable_sg(&umem->sgt_append.sgt, sg, i) in __ib_umem_release()
62 sg_free_append_table(&umem->sgt_append); in __ib_umem_release()
114 for_each_sgtable_dma_sg(&umem->sgt_append.sgt, sg, i) { in ib_umem_find_best_pgsz()
124 if (i != (umem->sgt_append.sgt.nents - 1)) in ib_umem_find_best_pgsz()
231 &umem->sgt_append, page_list, pinned, 0, in ib_umem_get()
243 ret = ib_dma_map_sgtable_attrs(device, &umem->sgt_append.sgt, in ib_umem_get()
306 ret = sg_pcopy_to_buffer(umem->sgt_append.sgt.sgl, in ib_umem_copy_from()
307 umem->sgt_append.sgt.orig_nents, dst, length, in ib_umem_copy_from()
A Dumem_dmabuf.c61 umem_dmabuf->umem.sgt_append.sgt.sgl = umem_dmabuf->first_sg; in ib_umem_dmabuf_map_pages()
62 umem_dmabuf->umem.sgt_append.sgt.nents = nmap; in ib_umem_dmabuf_map_pages()
/linux/lib/
A Dscatterlist.c449 struct scatterlist *s = sgt_append->prv; in sg_alloc_append_table_from_pages()
462 if (sgt_append->prv) { in sg_alloc_append_table_from_pages()
464 (page_to_pfn(sg_page(sgt_append->prv)) * PAGE_SIZE + in sg_alloc_append_table_from_pages()
465 sgt_append->prv->offset + sgt_append->prv->length) / in sg_alloc_append_table_from_pages()
472 prv_len = sgt_append->prv->length; in sg_alloc_append_table_from_pages()
476 sgt_append->prv->length += PAGE_SIZE; in sg_alloc_append_table_from_pages()
520 if (sgt_append->prv) in sg_alloc_append_table_from_pages()
521 sgt_append->prv->length = prv_len; in sg_alloc_append_table_from_pages()
532 sgt_append->sgt.nents += added_nents; in sg_alloc_append_table_from_pages()
533 sgt_append->sgt.orig_nents = sgt_append->sgt.nents; in sg_alloc_append_table_from_pages()
[all …]
/linux/include/rdma/
A Dib_umem.h29 struct sg_append_table sgt_append; member
58 return (sg_dma_address(umem->sgt_append.sgt.sgl) + ib_umem_offset(umem)) & in ib_umem_dma_offset()
79 __rdma_block_iter_start(biter, umem->sgt_append.sgt.sgl, in __rdma_umem_block_iter_start()
80 umem->sgt_append.sgt.nents, pgsz); in __rdma_umem_block_iter_start()
131 struct scatterlist *sg = umem->sgt_append.sgt.sgl; in ib_umem_find_best_pgoff()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_db.c45 db->dma = sg_dma_address(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
46 db->virt_addr = sg_virt(page->umem->sgt_append.sgt.sgl) + offset; in hns_roce_db_map_user()
/linux/drivers/infiniband/hw/mlx4/
A Ddoorbell.c78 db->dma = sg_dma_address(page->umem->sgt_append.sgt.sgl) + in mlx4_ib_db_map_user()
A Dmr.c203 for_each_sgtable_dma_sg(&umem->sgt_append.sgt, sg, i) { in mlx4_ib_umem_write_mtt()
276 for_each_sgtable_dma_sg(&umem->sgt_append.sgt, sg, i) { in mlx4_ib_umem_calc_optimal_mtt_size()
/linux/drivers/infiniband/hw/mlx5/
A Ddoorbell.c81 db->dma = sg_dma_address(page->umem->sgt_append.sgt.sgl) + in mlx5_ib_db_map_user()
A Dmr.c1224 rdma_for_each_block (mr->umem->sgt_append.sgt.sgl, &biter, in mlx5_ib_update_mr_pas()
1225 mr->umem->sgt_append.sgt.nents, in mlx5_ib_update_mr_pas()
/linux/drivers/infiniband/sw/rxe/
A Drxe_mr.c205 for_each_sgtable_page (&umem->sgt_append.sgt, &sg_iter, 0) { in rxe_mr_init_user()
/linux/drivers/infiniband/sw/rdmavt/
A Dmr.c371 for_each_sgtable_page (&umem->sgt_append.sgt, &sg_iter, 0) { in rvt_reg_user_mr()
/linux/drivers/infiniband/hw/irdma/
A Dverbs.c2229 iwpbl->qp_mr.sq_page = sg_page(region->sgt_append.sgt.sgl); in irdma_copy_user_pgaddrs()
/linux/drivers/infiniband/hw/qedr/
A Dverbs.c1489 sg = srq->prod_umem->sgt_append.sgt.sgl; in qedr_init_srq_user_params()

Completed in 33 milliseconds