Home
last modified time | relevance | path

Searched refs:ib_umem_num_dma_blocks (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/include/rdma/
Dib_umem.h62 static inline size_t ib_umem_num_dma_blocks(struct ib_umem *umem, in ib_umem_num_dma_blocks() function
72 return ib_umem_num_dma_blocks(umem, PAGE_SIZE); in ib_umem_num_pages()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmr.c274 *num_of_mtts = ib_umem_num_dma_blocks(umem, PAGE_SIZE); in mlx4_ib_umem_calc_optimal_mtt_size()
513 n = ib_umem_num_dma_blocks(mmr->umem, PAGE_SIZE); in mlx4_ib_rereg_user_mr()
Dsrq.c123 dev->dev, ib_umem_num_dma_blocks(srq->umem, PAGE_SIZE), in mlx4_ib_create_srq()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c155 srq->npages = ib_umem_num_dma_blocks(srq->umem, PAGE_SIZE); in pvrdma_create_srq()
Dpvrdma_mr.c136 npages = ib_umem_num_dma_blocks(umem, PAGE_SIZE); in pvrdma_reg_user_mr()
Dpvrdma_cq.c148 npages = ib_umem_num_dma_blocks(cq->umem, PAGE_SIZE); in pvrdma_create_cq()
Dpvrdma_qp.c294 ib_umem_num_dma_blocks(qp->sumem, PAGE_SIZE); in pvrdma_create_qp()
296 qp->npages_recv = ib_umem_num_dma_blocks( in pvrdma_create_qp()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c117 pages = ib_umem_num_dma_blocks(sginfo->umem, sginfo->pgsize); in __alloc_pbl()
218 unsigned long sginfo_num_pages = ib_umem_num_dma_blocks( in bnxt_qplib_alloc_init_hwq()
Dib_verbs.c3821 umem_pgs = ib_umem_num_dma_blocks(umem, page_size); in bnxt_re_reg_user_mr()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c765 ncont = ib_umem_num_dma_blocks(cq->buf.umem, page_size); in create_cq_user()
1310 npas = ib_umem_num_dma_blocks(cq->resize_umem, page_size); in mlx5_ib_resize_cq()
Dmr.c932 dev, order_base_2(ib_umem_num_dma_blocks(umem, page_size))); in alloc_cacheable_mr()
988 roundup(ib_umem_num_dma_blocks(umem, page_size), 2); in reg_create()
1376 ib_umem_num_dma_blocks(new_umem, *page_size); in can_use_umr_rereg_pas()
Dumr.c626 dev, &sg, ib_umem_num_dma_blocks(mr->umem, 1 << mr->page_shift), in mlx5r_umr_update_mr_pas()
Dsrq_cmd.c103 ib_umem_num_dma_blocks(in->umem, page_size) * sizeof(u64))) in __set_srq_page_size()
Ddevx.c2268 ib_umem_num_dma_blocks(obj->umem, page_size)); in devx_umem_reg_cmd_alloc()
2278 ib_umem_num_dma_blocks(obj->umem, page_size)); in devx_umem_reg_cmd_alloc()
Dqp.c828 rwq->rq_num_pas = ib_umem_num_dma_blocks(rwq->umem, page_size); in create_user_rq()
936 ncont = ib_umem_num_dma_blocks(ubuffer->umem, page_size); in _create_user_qp()
1288 ib_umem_num_dma_blocks(sq->ubuffer.umem, page_size); in create_raw_packet_qp_sq()
1377 sizeof(u64) * ib_umem_num_dma_blocks(umem, page_size); in create_raw_packet_qp_rq()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dmem.c535 n = ib_umem_num_dma_blocks(mhp->umem, 1 << shift); in c4iw_reg_user_mr()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_provider.c861 n = ib_umem_num_dma_blocks(mr->umem, PAGE_SIZE); in mthca_reg_user_mr()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c492 mem->mtt_nents = ib_umem_num_dma_blocks(mem->umem, mem->page_size); in get_mtt_entries()
/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_verbs.c1615 params.page_num = ib_umem_num_dma_blocks(mr->umem, pg_sz); in efa_register_mr()
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.c809 fw_pages = ib_umem_num_dma_blocks(q->umem, 1 << FW_PAGE_SHIFT); in qedr_init_user_queue()
2974 ib_umem_num_dma_blocks(mr->umem, PAGE_SIZE), 1); in qedr_reg_user_mr()
/linux-6.1.9/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c871 dev, mr, ib_umem_num_dma_blocks(mr->umem, PAGE_SIZE)); in ocrdma_reg_user_mr()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c2823 iwmr->page_cnt = ib_umem_num_dma_blocks(region, iwmr->page_size); in irdma_reg_user_mr()