Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/core/
Dumem.c80 unsigned long pgsz_bitmap, in ib_umem_find_best_pgsz() argument
92 if (!(pgsz_bitmap & page_size)) in ib_umem_find_best_pgsz()
101 pgsz_bitmap &= GENMASK(BITS_PER_LONG - 1, PAGE_SHIFT); in ib_umem_find_best_pgsz()
108 mask = pgsz_bitmap & in ib_umem_find_best_pgsz()
134 pgsz_bitmap &= GENMASK(count_trailing_zeros(mask), 0); in ib_umem_find_best_pgsz()
135 return pgsz_bitmap ? rounddown_pow_of_two(pgsz_bitmap) : 0; in ib_umem_find_best_pgsz()
/linux-6.1.9/include/rdma/
Dib_umem.h106 unsigned long pgsz_bitmap,
128 unsigned long pgsz_bitmap, in ib_umem_find_best_pgoff() argument
135 return ib_umem_find_best_pgsz(umem, pgsz_bitmap, in ib_umem_find_best_pgoff()
167 unsigned long pgsz_bitmap, in ib_umem_find_best_pgsz() argument
173 unsigned long pgsz_bitmap, in ib_umem_find_best_pgoff() argument
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dmem.c59 struct ib_umem *umem, unsigned long pgsz_bitmap, in __mlx5_umem_find_best_quantized_pgoff() argument
67 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, pgoff_bitmask); in __mlx5_umem_find_best_quantized_pgoff()
88 if (!(pgsz_bitmap & page_size)) in __mlx5_umem_find_best_quantized_pgoff()
Ddevx.c2200 unsigned long pgsz_bitmap) in devx_umem_find_best_pgsize() argument
2207 pgsz_bitmap &= GENMASK_ULL(max_t(u64, order_base_2(umem->length), in devx_umem_find_best_pgsize()
2210 if (!pgsz_bitmap) in devx_umem_find_best_pgsize()
2213 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, U64_MAX); in devx_umem_find_best_pgsize()
2237 unsigned long pgsz_bitmap; in devx_umem_reg_cmd_alloc() local
2255 ret = uverbs_get_const_default(&pgsz_bitmap, attrs, in devx_umem_reg_cmd_alloc()
2262 page_size = devx_umem_find_best_pgsize(obj->umem, pgsz_bitmap); in devx_umem_reg_cmd_alloc()
Dmlx5_ib.h88 struct ib_umem *umem, unsigned long pgsz_bitmap,