Searched refs:ncont (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | mem.c | 49 int *ncont, int *order) in mlx5_ib_cont_pages() argument 90 *ncont = DIV_ROUND_UP(i, (1 << m)); in mlx5_ib_cont_pages() 97 *ncont = 0; in mlx5_ib_cont_pages()
|
D | mr.c | 758 int *ncont, int *order) in mr_umem_get() argument 777 *ncont = ib_umem_odp_num_pages(odp); in mr_umem_get() 778 *npages = *ncont << (*page_shift - PAGE_SHIFT); in mr_umem_get() 780 *order = ilog2(roundup_pow_of_two(*ncont)); in mr_umem_get() 789 page_shift, ncont, order); in mr_umem_get() 801 *npages, *ncont, *order, *page_shift); in mr_umem_get() 1260 int ncont; in mlx5_ib_reg_user_mr() local 1283 &npages, &page_shift, &ncont, &order); in mlx5_ib_reg_user_mr() 1291 mr = alloc_mr_from_cache(pd, umem, virt_addr, length, ncont, in mlx5_ib_reg_user_mr() 1308 mr = reg_create(NULL, pd, virt_addr, length, umem, ncont, in mlx5_ib_reg_user_mr() [all …]
|
D | srq.c | 56 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()
|
D | cq.c | 690 int ncont; in create_cq_user() local 724 &ncont, NULL); in create_cq_user() 726 ucmd.buf_addr, entries * ucmd.cqe_size, npages, page_shift, ncont); in create_cq_user() 729 MLX5_FLD_SZ_BYTES(create_cq_in, pas[0]) * ncont; in create_cq_user()
|
D | qp.c | 748 int *ncont, u32 *offset) in mlx5_ib_umem_get() argument 758 mlx5_ib_cont_pages(*umem, addr, 0, npages, page_shift, ncont, NULL); in mlx5_ib_umem_get() 767 addr, size, *npages, *page_shift, *ncont, *offset); in mlx5_ib_umem_get() 803 int ncont = 0; in create_user_rq() local 817 &ncont, NULL); in create_user_rq() 825 rwq->rq_num_pas = ncont; in create_user_rq() 832 npages, page_shift, ncont, offset); in create_user_rq() 870 int ncont = 0; in create_user_qp() local 921 &npages, &page_shift, &ncont, &offset); in create_user_qp() 929 MLX5_FLD_SZ_BYTES(create_qp_in, pas[0]) * ncont; in create_user_qp() [all …]
|
D | devx.c | 112 int ncont; member 2130 &obj->page_shift, &obj->ncont, NULL); in devx_umem_get() 2148 (MLX5_ST_SZ_BYTES(mtt) * obj->ncont); in devx_umem_reg_cmd_alloc() 2164 MLX5_SET64(umem, umem, num_of_mtt, obj->ncont); in devx_umem_reg_cmd_build()
|
D | mlx5_ib.h | 1213 int *ncont, int *order);
|