/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_gem.c | 103 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_get_pages() local 659 int ret, pinned = 0, npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_get_pages() local 703 int npages = etnaviv_obj->base.size >> PAGE_SHIFT; in etnaviv_gem_userptr_release() local
|
/openbmc/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_mmu.c | 108 u32 npages = bo->base.base.size >> V3D_MMU_PAGE_SHIFT; in v3d_mmu_remove_ptes() local
|
/openbmc/u-boot/cmd/ |
H A D | mtd.c | 73 int npages = mtd_len_to_pages(mtd, len); in mtd_dump_device_buf() local 246 uint user_addr = 0, npages; in do_mtd_io() local
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | huge_gem_object.c | 32 unsigned int npages; /* restricted by sg_alloc_table */ in huge_get_pages() local
|
H A D | mock_dmabuf.c | 98 static struct dma_buf *mock_dmabuf(int npages) in mock_dmabuf()
|
/openbmc/linux/drivers/virt/coco/sev-guest/ |
H A 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
|
/openbmc/linux/fs/nfs/ |
H A D | direct.c | 167 static void nfs_direct_release_pages(struct page **pages, unsigned int npages) in nfs_direct_release_pages() 356 unsigned npages, i; in nfs_direct_read_schedule_iovec() local 871 unsigned npages, i; in nfs_direct_write_schedule_iovec() local
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_internal.c | 38 unsigned int npages; /* restricted by sg_alloc_table */ in i915_gem_object_get_pages_internal() local
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | efi-init.c | 152 u64 paddr, npages, size; in reserve_regions() local
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_pr_papr.c | 320 unsigned long npages = kvmppc_get_gpr(vcpu, 7); in kvmppc_h_pr_put_tce_indirect() local 336 unsigned long npages = kvmppc_get_gpr(vcpu, 7); in kvmppc_h_pr_stuff_tce() local
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | lm.h | 22 unsigned long long npages; member
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | memslot_perf_test.c | 88 uint64_t npages; member 316 uint64_t npages; in prepare_vm() local 330 uint64_t npages; in prepare_vm() local 636 uint64_t npages; in test_memslot_do_unmap() local
|
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | selftest.c | 550 long npages; in iommufd_test_md_check_pa() local 596 long npages; in iommufd_test_md_check_refs() local 821 size_t npages) in iommufd_test_check_pages() 850 size_t npages; in iommufd_test_access_pages() local
|
/openbmc/linux/lib/ |
H A D | test_hmm_uapi.h | 26 __u64 npages; member
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda-tce.c | 124 int pnv_tce_build(struct iommu_table *tbl, long index, long npages, in pnv_tce_build() 190 void pnv_tce_free(struct iommu_table *tbl, long index, long npages) in pnv_tce_free()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_hmm.c | 169 uint64_t start, uint64_t npages, bool readonly, in amdgpu_hmm_range_get_pages()
|
/openbmc/linux/include/rdma/ |
H A D | ib_umem_odp.h | 34 int npages; member
|
/openbmc/linux/arch/sparc/mm/ |
H A D | iommu.c | 190 unsigned long npages = (off + len + PAGE_SIZE - 1) >> PAGE_SHIFT; in __sbus_iommu_map_page() local 286 unsigned int npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; in sbus_iommu_unmap_page() local
|
/openbmc/linux/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 98 int *start_index, int *npages) in mlx4_ib_umem_write_mtt_block() 192 int npages = 0; in mlx4_ib_umem_write_mtt() local
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem.c | 168 unsigned long npages; in ib_umem_get() local
|
H A D | ib_core_uverbs.c | 269 u32 xa_first, xa_last, npages; in rdma_user_mmap_entry_insert_range() local
|
/openbmc/linux/mm/ |
H A D | gup.c | 34 unsigned long npages) in sanity_check_pinned_pages() 219 unsigned long npages, unsigned long i, unsigned int *ntails) in gup_folio_range_next() 234 unsigned long npages, unsigned long i, unsigned int *ntails) in gup_folio_next() 270 void unpin_user_pages_dirty_lock(struct page **pages, unsigned long npages, in unpin_user_pages_dirty_lock() 336 void unpin_user_page_range_dirty_lock(struct page *page, unsigned long npages, in unpin_user_page_range_dirty_lock() 355 static void unpin_user_pages_lockless(struct page **pages, unsigned long npages) in unpin_user_pages_lockless() 381 void unpin_user_pages(struct page **pages, unsigned long npages) in unpin_user_pages()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ftrace.c | 321 unsigned long npages; in create_trampoline() local 437 unsigned long npages; in set_ftrace_ops_ro() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.h | 58 int npages; member
|
/openbmc/linux/fs/ramfs/ |
H A D | file-nommu.c | 64 unsigned long npages, xpages, loop; in ramfs_nommu_expand_for_mapping() local
|