Home
last modified time | relevance | path

Searched defs:pfn (Results 1 – 25 of 70) sorted by relevance

123

/drivers/xen/
Dballoon.c286 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
Dgrant-table.c393 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/
Dvfio_iommu_type1.c170 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/
Dmem.c56 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
Dmspec.c197 unsigned long pfn; in mspec_fault() local
/drivers/gpu/drm/i915/
Di915_mm.c34 unsigned long pfn; member
61 unsigned long addr, unsigned long pfn, unsigned long size, in remap_io_mapping()
/drivers/iommu/
Diova.c307 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/
Dnode.c373 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
Dmemory.c127 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
Ddma-mapping.c255 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/
Dvideobuf2-dma-contig.c454 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/
Dehea_qmr.c628 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/
Dcell_edac.c38 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/
Dgem.c172 unsigned long pfn; in psb_gem_fault() local
Dmmu.c161 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/
Dghes.c152 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/
Duar.c187 phys_addr_t pfn; in mlx5_alloc_map_uar() local
/drivers/misc/
Dvmw_balloon.c445 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/
Dosl.c277 #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/
Dttm_bo_vm.c102 unsigned long pfn; in ttm_bo_vm_fault() local
/drivers/virtio/
Dvirtio_balloon.c99 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/
Ddm-target.c152 void **kaddr, pfn_t *pfn, long size) in io_err_direct_access()
Ddm-linear.c151 void **kaddr, pfn_t *pfn, long size) in dm_linear_direct_access()
/drivers/infiniband/hw/mlx5/
Dmem.c56 u64 pfn; in mlx5_ib_cont_pages() local
/drivers/dax/
Ddax.c337 pfn_t pfn; in __dax_dev_fault() local
396 pfn_t pfn; in __dax_dev_pmd_fault() local

123