Home
last modified time | relevance | path

Searched refs:pgsz_bitmap (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/core/
Dumem.c80 unsigned long pgsz_bitmap, in ib_umem_find_best_pgsz() argument
94 if (!(pgsz_bitmap & page_size)) in ib_umem_find_best_pgsz()
103 mask = pgsz_bitmap & in ib_umem_find_best_pgsz()
129 pgsz_bitmap &= GENMASK(count_trailing_zeros(mask), 0); in ib_umem_find_best_pgsz()
130 return pgsz_bitmap ? rounddown_pow_of_two(pgsz_bitmap) : 0; in ib_umem_find_best_pgsz()
/drivers/infiniband/hw/mlx5/
Dmem.c60 struct ib_umem *umem, unsigned long pgsz_bitmap, in __mlx5_umem_find_best_quantized_pgoff() argument
68 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, pgoff_bitmask); in __mlx5_umem_find_best_quantized_pgoff()
89 if (!(pgsz_bitmap & page_size)) in __mlx5_umem_find_best_quantized_pgoff()
Ddevx.c2219 unsigned long pgsz_bitmap) in devx_umem_find_best_pgsize() argument
2226 pgsz_bitmap &= GENMASK_ULL(max_t(u64, order_base_2(umem->length), in devx_umem_find_best_pgsize()
2229 if (!pgsz_bitmap) in devx_umem_find_best_pgsize()
2232 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, U64_MAX); in devx_umem_find_best_pgsize()
2256 unsigned long pgsz_bitmap; in devx_umem_reg_cmd_alloc() local
2274 ret = uverbs_get_const_default(&pgsz_bitmap, attrs, in devx_umem_reg_cmd_alloc()
2281 page_size = devx_umem_find_best_pgsize(obj->umem, pgsz_bitmap); in devx_umem_reg_cmd_alloc()
Dmlx5_ib.h94 struct ib_umem *umem, unsigned long pgsz_bitmap,
/drivers/infiniband/hw/irdma/
Dverbs.c2891 unsigned long pgsz_bitmap; in irdma_alloc_iwmr() local
2905 pgsz_bitmap = (reg_type == IRDMA_MEMREG_TYPE_MEM) ? in irdma_alloc_iwmr()
2908 iwmr->page_size = ib_umem_find_best_pgsz(region, pgsz_bitmap, virt); in irdma_alloc_iwmr()