/drivers/infiniband/hw/hfi1/ |
D | user_pages.c | 30 u32 nlocked, u32 npages) in hfi1_can_pin_pages() 80 int hfi1_acquire_user_pages(struct mm_struct *mm, unsigned long vaddr, size_t npages, in hfi1_acquire_user_pages() 96 size_t npages, bool dirty) in hfi1_release_user_pages()
|
D | user_exp_rcv.c | 136 unsigned int npages, in unpin_rcv_pages() 162 unsigned int npages = tidbuf->npages; in pin_rcv_pages() local 565 static u32 find_phys_blocks(struct tid_user_buf *tidbuf, unsigned int npages) in find_phys_blocks() 683 u16 npages, pageidx, setidx = start + idx; in program_rcvarray() local 726 u16 pageidx, unsigned int npages) in set_rcvarray_entry()
|
D | pin_system.c | 20 unsigned int npages; member 55 static u32 sdma_cache_evict(struct hfi1_user_sdma_pkt_q *pq, u32 npages) in sdma_cache_evict() 66 unsigned int start, unsigned int npages) in unpin_vector_pages() 116 struct sdma_mmu_node *node, int npages) in pin_system_pages()
|
D | user_exp_rcv.h | 23 unsigned int npages; member 38 unsigned int npages; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pagealloc.c | 52 s32 npages; member 199 s32 *npages, int boot) in mlx5_cmd_query_pages() 353 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages() 440 int npages = 0; in release_all_pages() local 465 u32 npages) in fwp_fill_manage_pages_out() 490 u32 npages; in reclaim_pages_cmd() local 517 static int reclaim_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in reclaim_pages() 621 s32 npages; in req_pages_handler() local 653 s32 npages; in mlx5_satisfy_startup_pages() local
|
/drivers/gpu/drm/i915/selftests/ |
D | scatterlist.c | 53 unsigned int npages = npages_fn(n, pt->st.nents, rnd); in expect_pfn_sg() local 209 unsigned long npages) in page_contiguous() 242 unsigned long npages = npages_fn(n, count, rnd); in alloc_table() local 292 const npages_fn_t *npages; in igt_sg_alloc() local 334 const npages_fn_t *npages; in igt_sg_trim() local
|
/drivers/accel/ivpu/ |
D | ivpu_gem.c | 72 int npages = bo->base.size >> PAGE_SHIFT; in shmem_alloc_pages_locked() local 99 int npages = bo->base.size >> PAGE_SHIFT; in ivpu_bo_map_pages_locked() local 145 unsigned int i, npages = bo->base.size >> PAGE_SHIFT; in internal_alloc_pages_locked() local 174 unsigned int i, npages = bo->base.size >> PAGE_SHIFT; in internal_free_pages_locked() local 459 loff_t npages = obj->size >> PAGE_SHIFT; in ivpu_bo_get_sg_table() local 480 loff_t npages = obj->size >> PAGE_SHIFT; in ivpu_vm_fault() local
|
/drivers/iommu/iommufd/ |
D | pages.c | 163 static void iopt_pages_add_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_add_npinned() 172 static void iopt_pages_sub_npinned(struct iopt_pages *pages, size_t npages) in iopt_pages_sub_npinned() 186 unsigned long npages = last_index - start_index + 1; in iopt_pages_err_unpin() local 616 size_t npages) in batch_from_pages() 626 unsigned int first_page_off, size_t npages) in batch_unpin() 742 unsigned long npages; in pfn_reader_user_pin() local 804 static int incr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in incr_user_locked_vm() 822 static void decr_user_locked_vm(struct iopt_pages *pages, unsigned long npages) in decr_user_locked_vm() 830 static int update_mm_locked_vm(struct iopt_pages *pages, unsigned long npages, in update_mm_locked_vm() 857 static int do_update_pinned(struct iopt_pages *pages, unsigned long npages, in do_update_pinned() [all …]
|
D | selftest.c | 535 long npages; in iommufd_test_md_check_pa() local 581 long npages; in iommufd_test_md_check_refs() local 806 size_t npages) in iommufd_test_check_pages() 835 size_t npages; in iommufd_test_access_pages() local
|
/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()
|
/drivers/fpga/ |
D | dfl-afu-dma-region.c | 37 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/gpu/drm/amd/amdkfd/ |
D | kfd_migrate.c | 49 svm_migrate_gart_map(struct amdgpu_ring *ring, uint64_t npages, in svm_migrate_gart_map() 125 uint64_t *vram, uint64_t npages, in svm_migrate_copy_memory_gart() 294 uint64_t npages = migrate->cpages; in svm_migrate_copy_to_vram() local 399 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_vram() local 582 dma_addr_t *scratch, uint64_t npages) in svm_migrate_copy_to_ram() 690 uint64_t npages = (end - start) >> PAGE_SHIFT; in svm_migrate_vma_to_ram() local
|
D | kfd_svm.c | 160 unsigned long offset, unsigned long npages, in svm_range_dma_map_dev() 206 unsigned long offset, unsigned long npages, in svm_range_dma_map() 235 unsigned long offset, unsigned long npages) in svm_range_dma_unmap() 931 uint64_t npages = last - start + 1; in svm_range_split_pages() local 949 uint64_t npages = last - start + 1; in svm_range_split_nodes() local 1359 unsigned long offset, unsigned long npages, bool readonly, in svm_range_map_to_gpu() 1436 unsigned long npages, bool readonly, in svm_range_map_to_gpus() 1678 unsigned long npages; in svm_range_validate_and_map() local
|
/drivers/gpu/drm/omapdrm/ |
D | omap_gem.c | 226 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 633 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_roll() local 709 int i, npages = obj->size >> PAGE_SHIFT; in omap_gem_dma_sync_buffer() local 742 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_pin_tiler() local 1105 u32 npages = obj->size >> PAGE_SHIFT; in omap_gem_resume() local 1407 unsigned int npages; in omap_gem_new_dmabuf() local
|
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_gem_prime.c | 20 int npages = obj->size >> PAGE_SHIFT; in etnaviv_gem_prime_get_sg_table() local 117 int ret, npages; in etnaviv_gem_prime_import_sg_table() local
|
D | etnaviv_gem.c | 103 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_get_pages() local 647 int ret, pinned = 0, npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_get_pages() local 691 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_release() local
|
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom.c | 95 unsigned long npages; in usnic_uiom_get_pages() local 213 int npages; in __usnic_uiom_reg_release() local 335 unsigned long npages; in usnic_uiom_reg_get() local
|
/drivers/gpu/drm/gma500/ |
D | gtt.c | 81 resource_size_t npages, i; in psb_gtt_insert_pages() local 106 resource_size_t npages, i; in psb_gtt_remove_pages() local
|
D | gem.c | 35 unsigned int npages; in psb_gem_pin() local 79 unsigned long npages; in psb_gem_unpin() local
|
/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.h | 53 int npages; member 145 int npages; member
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dmem.c | 376 unsigned long i, npages = range_len(&chunk->pagemap.range) >> PAGE_SHIFT; in nouveau_dmem_evict_chunk() local 442 nvc0b5_migrate_copy(struct nouveau_drm *drm, u64 npages, in nvc0b5_migrate_copy() 697 unsigned long npages = (end - start) >> PAGE_SHIFT; in nouveau_dmem_migrate_vma() local
|
/drivers/vfio/ |
D | iova_bitmap.c | 45 unsigned long npages; member 164 unsigned long npages; in iova_bitmap_get() local
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | mock_dmabuf.h | 13 int npages; member
|
/drivers/virt/coco/sev-guest/ |
D | sev-guest.c | 563 int ret, npages = 0, resp_len; in get_ext_report() local 683 unsigned int npages = PAGE_ALIGN(sz) >> PAGE_SHIFT; in free_shared_pages() local 700 unsigned int npages = PAGE_ALIGN(sz) >> PAGE_SHIFT; in alloc_shared_pages() local
|
/drivers/gpu/drm/msm/ |
D | msm_gem_prime.c | 17 int npages = obj->size >> PAGE_SHIFT; in msm_gem_prime_get_sg_table() local
|