Home
last modified time | relevance | path

Searched defs:npages (Results 1 – 25 of 105) sorted by relevance

12345

/drivers/infiniband/hw/hfi1/
Duser_pages.c72 u32 nlocked, u32 npages) in hfi1_can_pin_pages()
103 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, in hfi1_acquire_user_pages()
119 size_t npages, bool dirty) in hfi1_release_user_pages()
Duser_exp_rcv.c179 unsigned int npages, in unpin_rcv_pages()
205 unsigned int npages = tidbuf->npages; in pin_rcv_pages() local
610 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks()
729 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local
773 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
Duser_exp_rcv.h64 unsigned int npages; member
79 unsigned int npages; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c52 s32 npages; member
180 s32 *npages, int boot) in mlx5_cmd_query_pages()
334 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages()
408 int npages = 0; in release_all_pages() local
434 u32 npages) in fwp_fill_manage_pages_out()
459 u32 npages; in reclaim_pages_cmd() local
486 static int reclaim_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in reclaim_pages()
580 s32 npages; in req_pages_handler() local
612 s32 npages; in mlx5_satisfy_startup_pages() local
/drivers/gpu/drm/i915/selftests/
Dscatterlist.c53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg() local
209 unsigned long npages) in page_contiguous()
238 unsigned long npages = npages_fn(n, count, rnd); in alloc_table() local
288 const npages_fn_t *npages; in igt_sg_alloc() local
330 const npages_fn_t *npages; in igt_sg_trim() local
/drivers/fpga/
Ddfl-afu-dma-region.c37 int npages = region->length >> PAGE_SHIFT; in afu_dma_pin_pages() local
85 long npages = region->length >> PAGE_SHIFT; in afu_dma_unpin_pages() local
104 int npages = region->length >> PAGE_SHIFT; in afu_dma_check_continuous_pages() local
/drivers/net/ethernet/mellanox/mlx4/
Dmr.c194 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, in mlx4_mtt_init()
418 u64 iova, u64 size, u32 access, int npages, in mlx4_mr_alloc_reserved()
528 int npages, int page_shift, struct mlx4_mr *mr) in mlx4_mr_alloc()
590 u64 iova, u64 size, int npages, in mlx4_mr_rereg_mem_write()
693 int start_index, int npages, u64 *page_list) in mlx4_write_mtt_chunk()
719 int start_index, int npages, u64 *page_list) in __mlx4_write_mtt()
747 int start_index, int npages, u64 *page_list) in mlx4_write_mtt()
/drivers/gpu/drm/omapdrm/
Domap_gem.c226 int npages = obj->size >> PAGE_SHIFT; in omap_gem_attach_pages() local
297 unsigned int npages = obj->size >> PAGE_SHIFT; in omap_gem_detach_pages() local
647 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_roll() local
723 int i, npages = obj->size >> PAGE_SHIFT; in omap_gem_dma_sync_buffer() local
777 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_pin() local
1014 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local
1301 unsigned int npages; in omap_gem_new_dmabuf() local
/drivers/gpu/drm/etnaviv/
Detnaviv_gem_prime.c17 int npages = obj->size >> PAGE_SHIFT; in etnaviv_gem_prime_get_sg_table() local
119 int ret, npages; in etnaviv_gem_prime_import_sg_table() local
Detnaviv_gem.c103 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_get_pages() local
660 int ret, pinned = 0, npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_get_pages() local
701 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_release() local
/drivers/gpu/drm/msm/
Dmsm_gem_vma.c71 struct sg_table *sgt, int npages) in msm_gem_map_vma()
118 struct msm_gem_vma *vma, int npages, in msm_gem_init_vma()
Dmsm_gem_prime.c17 int npages = obj->size >> PAGE_SHIFT; in msm_gem_prime_get_sg_table() local
/drivers/misc/habanalabs/common/
Dmmu.c119 u32 real_page_size, npages; in hl_mmu_unmap() local
195 u32 real_page_size, npages; in hl_mmu_map() local
/drivers/infiniband/hw/usnic/
Dusnic_uiom.c95 unsigned long npages; in usnic_uiom_get_pages() local
218 int npages; in __usnic_uiom_reg_release() local
340 unsigned long npages; in usnic_uiom_reg_get() local
/drivers/gpu/drm/ttm/
Dttm_page_alloc.c74 unsigned npages; member
247 static void ttm_pages_put(struct page *pages[], unsigned npages, in ttm_pages_put()
495 unsigned npages = 1 << order; in ttm_alloc_new_pages() local
708 static void ttm_put_pages(struct page **pages, unsigned npages, int flags, in ttm_put_pages()
826 static int ttm_get_pages(struct page **pages, unsigned npages, int flags, in ttm_get_pages()
/drivers/infiniband/hw/mthca/
Dmthca_memfree.h53 int npages; member
145 int npages; member
/drivers/gpu/drm/i915/gem/selftests/
Dmock_dmabuf.h13 int npages; member
Dhuge_gem_object.c32 const unsigned long npages = obj->base.size / PAGE_SIZE; in huge_get_pages() local
Dmock_dmabuf.c92 static struct dma_buf *mock_dmabuf(int npages) in mock_dmabuf()
/drivers/infiniband/hw/mlx5/
Dmr.c861 int npages; in get_octo_len() local
876 int access_flags, struct ib_umem **umem, int *npages, in mr_umem_get()
984 u64 len, int npages, int page_shift, unsigned int order, in alloc_mr_from_cache()
1020 int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5_ib_update_xlt()
1171 struct ib_umem *umem, int npages, in reg_create()
1366 int npages; in mlx5_ib_reg_user_mr() local
1529 int npages = 0; in mlx5_ib_rereg_user_mr() local
1701 int npages = mr->npages; in dereg_mr() local
/drivers/gpu/drm/v3d/
Dv3d_mmu.c117 u32 npages = bo->base.base.size >> V3D_MMU_PAGE_SHIFT; in v3d_mmu_remove_ptes() local
/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c39 unsigned int npages; in i915_gem_object_get_pages_internal() local
/drivers/gpu/drm/nouveau/
Dnouveau_prime.c33 int npages = nvbo->bo.num_pages; in nouveau_gem_prime_get_sg_table() local
/drivers/gpu/drm/radeon/
Dradeon_prime.c37 int npages = bo->tbo.num_pages; in radeon_gem_prime_get_sg_table() local
/drivers/infiniband/hw/mlx4/
Dmr.c98 int *start_index, int *npages) in mlx4_ib_umem_write_mtt_block()
192 int npages = 0; in mlx4_ib_umem_write_mtt() local

12345