Home
last modified time | relevance | path

Searched refs:ncont (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dmem.c50 int *ncont, int *order) in mlx5_ib_cont_pages() argument
91 *ncont = DIV_ROUND_UP(i, (1 << m)); in mlx5_ib_cont_pages()
98 *ncont = 0; in mlx5_ib_cont_pages()
Dmr.c872 int *page_shift, int *ncont, int *order) in mr_umem_get() argument
892 *ncont = ib_umem_odp_num_pages(odp); in mr_umem_get()
893 *npages = *ncont << (*page_shift - PAGE_SHIFT); in mr_umem_get()
895 *order = ilog2(roundup_pow_of_two(*ncont)); in mr_umem_get()
904 page_shift, ncont, order); in mr_umem_get()
916 *npages, *ncont, *order, *page_shift); in mr_umem_get()
1365 int ncont; in mlx5_ib_reg_user_mr() local
1395 &npages, &page_shift, &ncont, &order); in mlx5_ib_reg_user_mr()
1401 mr = alloc_mr_from_cache(pd, umem, virt_addr, length, ncont, in mlx5_ib_reg_user_mr()
1409 mr = reg_create(NULL, pd, virt_addr, length, umem, ncont, in mlx5_ib_reg_user_mr()
[all …]
Dsrq.c56 int ncont; in create_srq_user() local
91 &page_shift, &ncont, NULL); in create_srq_user()
99 in->pas = kvcalloc(ncont, sizeof(*in->pas), GFP_KERNEL); in create_srq_user()
Dcq.c714 int ncont; in create_cq_user() local
750 &ncont, NULL); in create_cq_user()
752 ucmd.buf_addr, entries * ucmd.cqe_size, npages, page_shift, ncont); in create_cq_user()
755 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * ncont; in create_cq_user()
Dqp.c784 int *ncont, u32 *offset) in mlx5_ib_umem_get() argument
794 mlx5_ib_cont_pages(*umem, addr, 0, npages, page_shift, ncont, NULL); in mlx5_ib_umem_get()
803 addr, size, *npages, *page_shift, *ncont, *offset); in mlx5_ib_umem_get()
839 int ncont = 0; in create_user_rq() local
853 &ncont, NULL); in create_user_rq()
861 rwq->rq_num_pas = ncont; in create_user_rq()
868 npages, page_shift, ncont, offset); in create_user_rq()
904 int ncont = 0; in _create_user_qp() local
955 &npages, &page_shift, &ncont, &offset); in _create_user_qp()
963 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * ncont; in _create_user_qp()
[all …]
Ddevx.c98 int ncont; member
2086 &obj->page_shift, &obj->ncont, NULL); in devx_umem_get()
2104 (MLX5_ST_SZ_BYTES(mtt) * obj->ncont); in devx_umem_reg_cmd_alloc()
2120 MLX5_SET64(umem, umem, num_of_mtt, obj->ncont); in devx_umem_reg_cmd_build()
Dmlx5_ib.h1236 int *ncont, int *order);