Searched refs:pgsz_bitmap (Results 1 – 3 of 3) sorted by relevance
/linux/include/rdma/ |
H A D | ib_umem.h | 117 unsigned long pgsz_bitmap, 124 * @pgsz_bitmap bitmap of HW supported page sizes 139 unsigned long pgsz_bitmap, in ib_umem_find_best_pgoff() 145 return ib_umem_find_best_pgsz(umem, pgsz_bitmap, 197 unsigned long pgsz_bitmap, in ib_umem_dmabuf_get() 203 unsigned long pgsz_bitmap, in ib_umem_dmabuf_get_pinned() 135 ib_umem_find_best_pgoff(struct ib_umem * umem,unsigned long pgsz_bitmap,u64 pgoff_bitmask) ib_umem_find_best_pgoff() argument 180 ib_umem_find_best_pgsz(struct ib_umem * umem,unsigned long pgsz_bitmap,unsigned long virt) ib_umem_find_best_pgsz() argument 186 ib_umem_find_best_pgoff(struct ib_umem * umem,unsigned long pgsz_bitmap,u64 pgoff_bitmask) ib_umem_find_best_pgoff() argument
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | mem.c | 58 struct ib_umem *umem, unsigned long pgsz_bitmap, in __mlx5_umem_find_best_quantized_pgoff() argument 66 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, pgoff_bitmask); in __mlx5_umem_find_best_quantized_pgoff() 87 if (!(pgsz_bitmap & page_size)) in __mlx5_umem_find_best_quantized_pgoff()
|
H A D | devx.c | 2267 unsigned long pgsz_bitmap) in devx_umem_find_best_pgsize() argument 2274 pgsz_bitmap &= GENMASK_ULL(max_t(u64, order_base_2(umem->length), in devx_umem_find_best_pgsize() 2277 if (!pgsz_bitmap) in devx_umem_find_best_pgsize() 2280 page_size = ib_umem_find_best_pgoff(umem, pgsz_bitmap, U64_MAX); in devx_umem_find_best_pgsize() 2304 unsigned long pgsz_bitmap; in devx_umem_reg_cmd_alloc() local 2322 ret = uverbs_get_const_default(&pgsz_bitmap, attrs, in devx_umem_reg_cmd_alloc() 2329 page_size = devx_umem_find_best_pgsize(obj->umem, pgsz_bitmap); in devx_umem_reg_cmd_alloc()
|