Searched refs:ncont (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/infiniband/hw/mlx5/ |
D | mem.c | 50 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()
|
D | mr.c | 872 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 …]
|
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 | 714 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()
|
D | qp.c | 784 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 …]
|
D | devx.c | 98 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()
|
D | mlx5_ib.h | 1236 int *ncont, int *order);
|