Home
last modified time | relevance | path

Searched refs:max_pages (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/drm2/ttm/
H A Dttm_page_alloc.h35 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
70 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
87 unsigned max_pages) in ttm_dma_page_alloc_init() argument
H A Dttm_page_alloc.c805 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() argument
821 _manager->options.max_size = max_pages; in ttm_page_alloc_init()
H A Dttm_page_alloc_dma.c1054 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init() argument
1069 _manager->options.max_size = max_pages; in ttm_dma_page_alloc_init()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_fmr_pool.c90 int max_pages; member
263 pool->max_pages = params->max_pages_per_fmr; in ib_create_fmr_pool()
285 .max_pages = params->max_pages_per_fmr, in ib_create_fmr_pool()
424 if (list_len < 1 || list_len > pool->max_pages) in ib_fmr_pool_map_phys()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mr.c281 int max_pages) in mlx4_alloc_priv_pages() argument
290 mr->page_map_size = roundup(max_pages * sizeof(u64), in mlx4_alloc_priv_pages()
410 mr->max_pages = max_num_sg; in mlx4_ib_alloc_mr()
442 fmr_attr->max_pages, fmr_attr->max_maps, in mlx4_ib_fmr_alloc()
527 if (unlikely(mr->npages == mr->max_pages)) in mlx4_set_page()
H A Dmlx4_ib.h139 u32 max_pages; member
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mr.c980 if (npages > fmr->max_pages) in mlx4_check_fmr()
1049 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, in mlx4_fmr_alloc() argument
1062 if (max_pages * sizeof *fmr->mtts > PAGE_SIZE) in mlx4_fmr_alloc()
1066 fmr->max_pages = max_pages; in mlx4_fmr_alloc()
1070 err = mlx4_mr_alloc(dev, pd, 0, 0, access, max_pages, in mlx4_fmr_alloc()
/freebsd/sys/dev/mthca/
H A Dmthca_mr.c574 int list_len = mr->attr.max_pages; in mthca_fmr_alloc()
583 mr->attr.max_pages * sizeof *mr->mem.arbel.mtts > PAGE_SIZE) in mthca_fmr_alloc()
694 if (list_len > fmr->attr.max_pages) in mthca_check_fmr()
/freebsd/sys/fs/fuse/
H A Dfuse_kernel.h694 uint16_t max_pages; member
/freebsd/sys/contrib/xen/
H A Ddomctl.h149 uint64_aligned_t max_pages; member
/freebsd/sys/dev/mlx4/
H A Ddevice.h708 int max_pages; member
1398 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages,
/freebsd/sys/dev/drm2/
H A DdrmP.h1390 dma_addr_t *addrs, int max_pages);
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h1361 int max_pages; member