Home
last modified time | relevance | path

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

123

/drivers/xen/
Dtmem.c130 u32 index, unsigned long pfn) in xen_tmem_put_page()
139 u32 index, unsigned long pfn) in xen_tmem_get_page()
174 unsigned long pfn = page_to_pfn(page); in tmem_cleancache_put_page() local
189 unsigned long pfn = page_to_pfn(page); in tmem_cleancache_get_page() local
288 unsigned long pfn = page_to_pfn(page); in tmem_frontswap_store() local
314 unsigned long pfn = page_to_pfn(page); in tmem_frontswap_load() local
Dballoon.c316 unsigned long pfn, i; in increase_reservation() local
388 unsigned long pfn, i; in decrease_reservation() local
568 unsigned long pfn, extra_pfn_end; in balloon_add_region() local
Dswiotlb-xen.c72 static int check_pages_physically_contiguous(unsigned long pfn, in check_pages_physically_contiguous()
92 unsigned long pfn = PFN_DOWN(p); in range_straddles_page_boundary() local
105 unsigned long pfn = mfn_to_local_pfn(mfn); in is_xen_swiotlb_buffer() local
/drivers/base/
Ddma-contiguous.c141 unsigned long base_pfn = cma->base_pfn, pfn = base_pfn; in cma_activate_area() local
278 unsigned long mask, pfn, pageno, start = 0; in dma_alloc_from_contiguous() local
339 unsigned long pfn; in dma_release_from_contiguous() local
Dnode.c379 static int get_nid_for_pfn(unsigned long pfn) in get_nid_for_pfn()
395 unsigned long pfn, sect_start_pfn, sect_end_pfn; in register_mem_sect_under_node() local
432 unsigned long pfn, sect_start_pfn, sect_end_pfn; in unregister_mem_sect_under_nodes() local
467 unsigned long pfn; in link_mem_sections() local
Dmemory.c149 unsigned long i, pfn; in show_mem_removable() local
214 unsigned long pfn = start_pfn; in pages_correctly_reserved() local
457 u64 pfn; in store_soft_offline_page() local
476 u64 pfn; in store_hard_offline_page() local
Ddma-coherent.c212 unsigned pfn = mem->pfn_base + start + off; in dma_mmap_from_coherent() local
436 unsigned pfn = mem->pfn_base + start + off; in dma_mmap_from_coherent() local
Ddma-mapping.c251 unsigned long pfn = page_to_pfn(virt_to_page(cpu_addr)); in dma_common_mmap() local
/drivers/char/
Dmem.c57 static inline int valid_mmap_phys_addr_range(unsigned long pfn, size_t size) in valid_mmap_phys_addr_range()
65 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
84 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
223 unsigned long pfn, unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
264 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
347 unsigned long pfn; in mmap_kmem() local
374 unsigned long pfn, offset; in read_oldmem() local
/drivers/vfio/
Dvfio_iommu_type1.c136 static bool is_invalid_reserved_pfn(unsigned long pfn) in is_invalid_reserved_pfn()
164 static int put_pfn(unsigned long pfn, int prot) in put_pfn()
183 unsigned long pfn; in __vfio_dma_do_unmap() local
203 static int vaddr_get_pfn(unsigned long vaddr, int prot, unsigned long *pfn) in vaddr_get_pfn()
259 unsigned long pfn = 0; in __vfio_dma_map() local
/drivers/video/adf/
Dadf_memblock.c28 unsigned long pfn = PFN_DOWN(pdata->base); in adf_memblock_map() local
79 unsigned long pfn = PFN_DOWN(pdata->base) + pgoffset; in adf_memblock_do_kmap() local
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmr.c117 unsigned long pfn; in vmw_gmr_build_descriptors() local
223 unsigned long pfn; in vmw_gmr_count_descriptors() local
/drivers/edac/
Dcell_edac.c37 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local
60 unsigned long address, pfn, offset; in cell_edac_count_ue() local
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c626 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap()
669 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap()
679 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap()
689 static int ehea_is_hugepage(unsigned long pfn) in ehea_is_hugepage()
707 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
/drivers/iommu/
Diova.c246 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) in find_iova()
305 free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
Dtegra-smmu.c225 #define SMMU_PFN_TO_PTE(pfn, attr) (unsigned long)((pfn) | (attr)) argument
599 dma_addr_t iova, unsigned long pfn) in put_signature()
615 unsigned long addr, unsigned long pfn) in put_signature()
706 unsigned long pfn) in __smmu_iommu_map_pfn()
731 unsigned long pfn = __phys_to_pfn(pa); in smmu_iommu_map() local
766 unsigned long pfn; in smmu_iommu_iova_to_phys() local
/drivers/platform/goldfish/
Dgoldfish_dma.h87 unsigned long pfn; /* pfn of dma region */ member
/drivers/acpi/apei/
Dghes.c167 static void __iomem *ghes_ioremap_pfn_nmi(u64 pfn) in ghes_ioremap_pfn_nmi()
178 static void __iomem *ghes_ioremap_pfn_irq(u64 pfn) in ghes_ioremap_pfn_irq()
435 unsigned long pfn; in ghes_do_proc() local
/drivers/virtio/
Dvirtio_balloon.c83 unsigned long pfn = page_to_pfn(page); in page_to_balloon_pfn() local
90 static struct page *balloon_pfn_to_page(u32 pfn) in balloon_pfn_to_page()
/drivers/acpi/
Dosl.c328 #define should_use_kmap(pfn) page_is_ram(pfn) argument
331 #define should_use_kmap(pfn) 0 argument
336 unsigned long pfn; in acpi_map() local
349 unsigned long pfn; in acpi_unmap() local
/drivers/gpu/drm/gma500/
Dgem.c206 unsigned long pfn; in psb_gem_fault() local
Dgtt.c38 static inline uint32_t psb_gtt_mask_pte(uint32_t pfn, int type) in psb_gtt_mask_pte()
/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c85 unsigned long pfn; in exynos_drm_gem_map_buf() local
570 unsigned long pfn; in exynos_gem_get_pages_from_userptr() local
/drivers/misc/
Dvmw_balloon.c317 static int vmballoon_send_lock_page(struct vmballoon *b, unsigned long pfn, in vmballoon_send_lock_page()
342 static bool vmballoon_send_unlock_page(struct vmballoon *b, unsigned long pfn) in vmballoon_send_unlock_page()
/drivers/gpu/drm/ttm/
Dttm_bo_vm.c81 unsigned long pfn; in ttm_bo_vm_fault() local

123