/drivers/xen/ |
D | balloon.c | 286 unsigned long pfn = res->start >> PAGE_SHIFT; in additional_memory_resource() local 342 unsigned long pfn, i; in reserve_additional_memory() local 464 unsigned long pfn = page_to_pfn(page); in increase_reservation() local 542 unsigned long pfn = page_to_pfn(page); in decrease_reservation() local 716 unsigned long pfn, extra_pfn_end; in balloon_add_region() local
|
D | grant-table.c | 393 int gnttab_grant_foreign_transfer(domid_t domid, unsigned long pfn) in gnttab_grant_foreign_transfer() 407 unsigned long pfn) in gnttab_grant_foreign_transfer_ref() 636 xen_pfn_t *pfn; in gnttab_setup_auto_xlat_frames() local
|
/drivers/vfio/ |
D | vfio_iommu_type1.c | 170 static bool is_invalid_reserved_pfn(unsigned long pfn) in is_invalid_reserved_pfn() 198 static int put_pfn(unsigned long pfn, int prot) in put_pfn() 210 static int vaddr_get_pfn(unsigned long vaddr, int prot, unsigned long *pfn) in vaddr_get_pfn() 244 unsigned long pfn = 0, limit = rlimit(RLIMIT_MEMLOCK) >> PAGE_SHIFT; in vfio_pin_pages() local 307 static long vfio_unpin_pages(unsigned long pfn, long npage, in vfio_unpin_pages() 501 unsigned long pfn, long npage, int prot) in map_try_harder() 521 unsigned long pfn, long npage, int prot) in vfio_iommu_map() 557 unsigned long pfn; in vfio_dma_do_map() local
|
/drivers/char/ |
D | mem.c | 56 static inline int valid_mmap_phys_addr_range(unsigned long pfn, size_t size) in valid_mmap_phys_addr_range() 63 static inline int page_is_allowed(unsigned long pfn) in page_is_allowed() 67 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed() 82 static inline int page_is_allowed(unsigned long pfn) in page_is_allowed() 86 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed() 243 unsigned long pfn, unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed() 284 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 381 unsigned long pfn; in mmap_kmem() local
|
D | mspec.c | 197 unsigned long pfn; in mspec_fault() local
|
/drivers/gpu/drm/i915/ |
D | i915_mm.c | 34 unsigned long pfn; member 61 unsigned long addr, unsigned long pfn, unsigned long size, in remap_io_mapping()
|
/drivers/iommu/ |
D | iova.c | 307 private_find_iova(struct iova_domain *iovad, unsigned long pfn) in private_find_iova() 345 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) in find_iova() 383 free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova() 443 free_iova_fast(struct iova_domain *iovad, unsigned long pfn, unsigned long size) in free_iova_fast() 709 static void iova_magazine_push(struct iova_magazine *mag, unsigned long pfn) in iova_magazine_push() 794 static bool iova_rcache_insert(struct iova_domain *iovad, unsigned long pfn, in iova_rcache_insert()
|
/drivers/base/ |
D | node.c | 373 static int __ref get_nid_for_pfn(unsigned long pfn) in get_nid_for_pfn() 393 unsigned long pfn, sect_start_pfn, sect_end_pfn; in register_mem_sect_under_node() local 440 unsigned long pfn, sect_start_pfn, sect_end_pfn; in unregister_mem_sect_under_nodes() local 475 unsigned long pfn; in link_mem_sections() local
|
D | memory.c | 127 unsigned long i, pfn; in show_mem_removable() local 192 unsigned long pfn = start_pfn; in pages_correctly_reserved() local 530 u64 pfn; in store_soft_offline_page() local 549 u64 pfn; in store_hard_offline_page() local
|
D | dma-mapping.c | 255 unsigned long pfn = page_to_pfn(virt_to_page(cpu_addr)); in dma_common_mmap() local 312 unsigned long pfn; in dma_common_contiguous_remap() local
|
/drivers/media/v4l2-core/ |
D | videobuf2-dma-contig.c | 454 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 459 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 464 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 469 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma()
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 628 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap() 671 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap() 681 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap() 691 static int ehea_is_hugepage(unsigned long pfn) in ehea_is_hugepage() 709 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
|
/drivers/edac/ |
D | cell_edac.c | 38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local 61 unsigned long address, pfn, offset; in cell_edac_count_ue() local
|
/drivers/gpu/drm/gma500/ |
D | gem.c | 172 unsigned long pfn; in psb_gem_fault() local
|
D | mmu.c | 161 static inline uint32_t psb_mmu_mask_pte(uint32_t pfn, int type) in psb_mmu_mask_pte() 774 unsigned long *pfn) in psb_mmu_virtual_to_pfn()
|
/drivers/acpi/apei/ |
D | ghes.c | 152 static void __iomem *ghes_ioremap_pfn_nmi(u64 pfn) in ghes_ioremap_pfn_nmi() 163 static void __iomem *ghes_ioremap_pfn_irq(u64 pfn) in ghes_ioremap_pfn_irq() 399 unsigned long pfn; in ghes_handle_memory_failure() local
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | uar.c | 187 phys_addr_t pfn; in mlx5_alloc_map_uar() local
|
/drivers/misc/ |
D | vmw_balloon.c | 445 static int vmballoon_send_lock_page(struct vmballoon *b, unsigned long pfn, in vmballoon_send_lock_page() 470 unsigned long pfn = page_to_pfn(b->page); in vmballoon_send_batched_lock() local 493 static bool vmballoon_send_unlock_page(struct vmballoon *b, unsigned long pfn, in vmballoon_send_unlock_page() 518 unsigned long pfn = page_to_pfn(b->page); in vmballoon_send_batched_unlock() local
|
/drivers/acpi/ |
D | osl.c | 277 #define should_use_kmap(pfn) 0 argument 279 #define should_use_kmap(pfn) page_is_ram(pfn) argument 284 unsigned long pfn; in acpi_map() local 297 unsigned long pfn; in acpi_unmap() local
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 102 unsigned long pfn; in ttm_bo_vm_fault() local
|
/drivers/virtio/ |
D | virtio_balloon.c | 99 unsigned long pfn = page_to_pfn(page); in page_to_balloon_pfn() local 106 static struct page *balloon_pfn_to_page(u32 pfn) in balloon_pfn_to_page()
|
/drivers/md/ |
D | dm-target.c | 152 void **kaddr, pfn_t *pfn, long size) in io_err_direct_access()
|
D | dm-linear.c | 151 void **kaddr, pfn_t *pfn, long size) in dm_linear_direct_access()
|
/drivers/infiniband/hw/mlx5/ |
D | mem.c | 56 u64 pfn; in mlx5_ib_cont_pages() local
|
/drivers/dax/ |
D | dax.c | 337 pfn_t pfn; in __dax_dev_fault() local 396 pfn_t pfn; in __dax_dev_pmd_fault() local
|