/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 72 u32 nlocked, u32 npages) in hfi1_can_pin_pages() 105 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, in hfi1_acquire_user_pages() 122 size_t npages, bool dirty) in hfi1_release_user_pages()
|
D | user_exp_rcv.c | 193 unsigned int npages, in unpin_rcv_pages() 216 unsigned int npages; in pin_rcv_pages() local 591 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks() 710 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 754 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
|
D | user_exp_rcv.h | 62 unsigned int npages; member 75 unsigned int npages; member
|
D | user_sdma.c | 939 static u32 sdma_cache_evict(struct hfi1_user_sdma_pkt_q *pq, u32 npages) in sdma_cache_evict() 952 int npages) in pin_sdma_pages() 1003 int ret = 0, pinned, npages; in pin_vector_pages() local 1064 unsigned start, unsigned npages) in unpin_vector_pages()
|
/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 52 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg() local 194 unsigned long npages) in page_contiguous() 223 unsigned long npages = npages_fn(n, count, rnd); in alloc_table() local 272 const npages_fn_t *npages; in igt_sg_alloc() local 314 const npages_fn_t *npages; in igt_sg_trim() local
|
D | mock_dmabuf.h | 32 int npages; member
|
D | huge_gem_object.c | 45 const unsigned long npages = obj->base.size / PAGE_SIZE; in huge_get_pages() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 50 s32 npages; member 135 s32 *npages, int boot) in mlx5_cmd_query_pages() 271 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() 340 u32 npages; in reclaim_pages_cmd() local 365 static int reclaim_pages(struct mlx5_core_dev *dev, u32 func_id, int npages, in reclaim_pages() 437 s32 npages) in mlx5_core_req_pages_handler()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 194 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() 970 int npages, u64 iova) in mlx4_check_fmr() 997 int npages, u64 iova, u32 *lkey, u32 *rkey) in mlx4_map_phys_fmr()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_mem.c | 78 int iwch_alloc_pbl(struct iwch_mr *mhp, int npages) in iwch_alloc_pbl() 97 int iwch_write_pbl(struct iwch_mr *mhp, __be64 *pages, int npages, int offset) in iwch_write_pbl()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 196 int hns_roce_mtt_init(struct hns_roce_dev *hr_dev, int npages, int page_shift, in hns_roce_mtt_init() 238 u64 size, u32 access, int npages, in hns_roce_mr_alloc() 277 int npages = 0; in hns_roce_mr_free() local 346 u32 npages, u64 *page_list) in hns_roce_write_mtt_chunk() 376 u32 npages, u64 *page_list) in hns_roce_write_mtt()
|
/drivers/infiniband/hw/mlx5/ |
D | mr.c | 819 int npages; in get_octo_len() local 835 int *npages, int *page_shift, int *ncont, in mr_umem_get() 912 u64 virt_addr, u64 len, int npages, in alloc_mr_from_cache() 946 static inline int populate_xlt(struct mlx5_ib_mr *mr, int idx, int npages, in populate_xlt() 977 int mlx5_ib_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5_ib_update_xlt() 1107 struct ib_umem *umem, int npages, in reg_create() 1192 int npages, u64 length, int access_flags) in set_mr_fileds() 1210 int npages; in mlx5_ib_reg_user_mr() local 1353 int npages = 0; in mlx5_ib_rereg_user_mr() local 1536 int npages = mr->npages; in dereg_mr() local
|
/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 233 int npages = obj->size >> PAGE_SHIFT; in omap_gem_attach_pages() local 319 unsigned int npages = obj->size >> PAGE_SHIFT; in omap_gem_detach_pages() local 683 uint32_t npages = obj->size >> PAGE_SHIFT; in omap_gem_roll() local 758 int i, npages = obj->size >> PAGE_SHIFT; in omap_gem_dma_sync_buffer() local 813 uint32_t npages = obj->size >> PAGE_SHIFT; in omap_gem_pin() local 1009 uint32_t npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local 1253 unsigned int npages; in omap_gem_new_dmabuf() local
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_prime.c | 26 int npages = obj->size >> PAGE_SHIFT; in etnaviv_gem_prime_get_sg_table() local 120 int ret, npages; in etnaviv_gem_prime_import_sg_table() local
|
D | etnaviv_gem.c | 110 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_get_pages() local 754 int ret = 0, pinned, npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_do_get_pages() local 819 int ret, pinned, npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_get_pages() local 887 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_release() local
|
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 110 unsigned long npages; in usnic_uiom_get_pages() local 230 int npages; in __usnic_uiom_reg_release() local 352 unsigned long npages; in usnic_uiom_reg_get() local
|
/drivers/staging/lustre/lnet/lnet/ |
D | router.c | 1309 lnet_destroy_rtrbuf(struct lnet_rtrbuf *rb, int npages) in lnet_destroy_rtrbuf() 1322 int npages = rbp->rbp_npages; in lnet_new_rtrbuf() local 1357 int npages = rbp->rbp_npages; in lnet_rtrpool_free_bufs() local 1391 int npages = rbp->rbp_npages; in lnet_rtrpool_adjust_bufs() local 1471 lnet_rtrpool_init(struct lnet_rtrbufpool *rbp, int npages) in lnet_rtrpool_init()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_page.c | 415 long npages = 0; in osc_lru_add_batch() local 679 static long osc_lru_reclaim(struct client_obd *cli, unsigned long npages) in osc_lru_reclaim() 808 unsigned long osc_lru_reserve(struct client_obd *cli, unsigned long npages) in osc_lru_reserve() 854 void osc_lru_unreserve(struct client_obd *cli, unsigned long npages) in osc_lru_unreserve()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 80 unsigned npages; member 279 static void ttm_pages_put(struct page *pages[], unsigned npages) in ttm_pages_put() 679 static void ttm_put_pages(struct page **pages, unsigned npages, int flags, in ttm_put_pages() 727 static int ttm_get_pages(struct page **pages, unsigned npages, int flags, in ttm_get_pages()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.h | 53 int npages; member 145 int npages; member
|
/drivers/gpu/drm/msm/ |
D | msm_gem_vma.c | 64 struct msm_gem_vma *vma, struct sg_table *sgt, int npages) in msm_gem_map_vma()
|
D | msm_gem_prime.c | 26 int npages = obj->size >> PAGE_SHIFT; in msm_gem_prime_get_sg_table() local
|
/drivers/gpu/drm/i915/ |
D | i915_gem_internal.c | 53 unsigned int npages; in i915_gem_object_get_pages_internal() local
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_gem.c | 521 int npages; in exynos_drm_gem_prime_get_sg_table() local 534 int npages; in exynos_drm_gem_prime_import_sg_table() local
|
/drivers/lightnvm/ |
D | rrpc.c | 758 sector_t laddr, uint8_t npages) in rrpc_end_io_write() 780 uint8_t npages = rqd->nr_ppas; in rrpc_end_io() local 804 struct nvm_rq *rqd, unsigned long flags, int npages) in rrpc_read_ppalist_rq() 866 struct nvm_rq *rqd, unsigned long flags, int npages) in rrpc_write_ppalist_rq() 925 struct nvm_rq *rqd, unsigned long flags, uint8_t npages) in rrpc_setup_rq()
|