Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/linux/include/linux/
H A Dpfn_t.h37 static inline pfn_t pfn_to_pfn_t(unsigned long pfn) in pfn_to_pfn_t()
47 static inline bool pfn_t_has_page(pfn_t pfn) in pfn_t_has_page()
52 static inline unsigned long pfn_t_to_pfn(pfn_t pfn) in pfn_t_to_pfn()
57 static inline struct page *pfn_t_to_page(pfn_t pfn) in pfn_t_to_page()
64 static inline phys_addr_t pfn_t_to_phys(pfn_t pfn) in pfn_t_to_phys()
74 static inline int pfn_t_valid(pfn_t pfn) in pfn_t_valid()
80 static inline pte_t pfn_t_pte(pfn_t pfn, pgprot_t pgprot) in pfn_t_pte()
101 static inline bool pfn_t_devmap(pfn_t pfn) in pfn_t_devmap()
108 static inline bool pfn_t_devmap(pfn_t pfn) in pfn_t_devmap()
121 static inline bool pfn_t_special(pfn_t pfn) in pfn_t_special()
[all …]
H A Dpageblock-flags.h56 #define pageblock_align(pfn) ALIGN((pfn), pageblock_nr_pages) argument
57 #define pageblock_aligned(pfn) IS_ALIGNED((pfn), pageblock_nr_pages) argument
58 #define pageblock_start_pfn(pfn) ALIGN_DOWN((pfn), pageblock_nr_pages) argument
59 #define pageblock_end_pfn(pfn) ALIGN((pfn) + 1, pageblock_nr_pages) argument
/openbmc/linux/arch/x86/xen/
H A Dp2m.c216 unsigned long pfn, mfn; in xen_build_mfn_list_list() local
294 unsigned long pfn; in xen_build_dynamic_phys_to_machine() local
310 static int xen_p2m_elem_type(unsigned long pfn) in xen_p2m_elem_type()
331 unsigned long pfn; in xen_rebuild_p2m_list() local
432 unsigned long get_phys_to_machine(unsigned long pfn) in get_phys_to_machine()
528 int xen_alloc_p2m_entry(unsigned long pfn) in xen_alloc_p2m_entry()
630 unsigned long pfn; in set_phys_range_identity() local
708 unsigned long mfn, pfn; in set_foreign_p2m_mapping() local
785 unsigned long pfn = page_to_pfn(pages[i]); in clear_foreign_p2m_mapping() local
818 unsigned long pfn, mfn, end_pfn; in xen_do_remap_nonram() local
[all …]
H A Dmmu_pv.c336 unsigned long pfn = mfn_to_pfn(mfn); in pte_mfn_to_pfn() local
351 unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; in pte_pfn_to_mfn() local
683 static void xen_do_pin(unsigned level, unsigned long pfn) in xen_do_pin()
700 unsigned long pfn = page_to_pfn(page); in xen_pin_page() local
825 unsigned long pfn = page_to_pfn(page); in xen_unpin_page() local
1460 unsigned long pfn; in xen_make_pte_init() local
1596 static void xen_release_pte(unsigned long pfn) in xen_release_pte()
1601 static void xen_release_pmd(unsigned long pfn) in xen_release_pmd()
1611 static void xen_release_pud(unsigned long pfn) in xen_release_pud()
1646 unsigned long pfn = __pa(addr) >> PAGE_SHIFT; in set_page_prot_flags() local
[all …]
/openbmc/linux/include/asm-generic/
H A Dmemory_model.h18 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) argument
23 static inline int pfn_valid(unsigned long pfn) in pfn_valid()
37 #define __pfn_to_page(pfn) (vmemmap + (pfn)) argument
51 #define __pfn_to_page(pfn) \ argument
62 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) argument
/openbmc/linux/arch/x86/include/asm/
H A Dpgalloc.h20 static inline void paravirt_alloc_pte(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pte()
21 static inline void paravirt_alloc_pmd(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pmd()
22 static inline void paravirt_alloc_pmd_clone(unsigned long pfn, unsigned long clonepfn, in paravirt_alloc_pmd_clone()
24 static inline void paravirt_alloc_pud(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_pud()
25 static inline void paravirt_alloc_p4d(struct mm_struct *mm, unsigned long pfn) {} in paravirt_alloc_p4d()
26 static inline void paravirt_release_pte(unsigned long pfn) {} in paravirt_release_pte()
27 static inline void paravirt_release_pmd(unsigned long pfn) {} in paravirt_release_pmd()
28 static inline void paravirt_release_pud(unsigned long pfn) {} in paravirt_release_pud()
29 static inline void paravirt_release_p4d(unsigned long pfn) {} in paravirt_release_p4d()
81 unsigned long pfn = page_to_pfn(pte); in pmd_populate() local
/openbmc/linux/mm/
H A Dsparse.c184 static void subsection_mask_set(unsigned long *map, unsigned long pfn, in subsection_mask_set()
193 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
219 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
227 unsigned long pfn; in memory_present() local
428 struct page __init *__populate_section_memmap(unsigned long pfn, in __populate_section_memmap()
521 unsigned long pfn = section_nr_to_pfn(pnum); in sparse_init_nid() local
594 unsigned long pfn; in online_mem_sections() local
612 unsigned long pfn; in offline_mem_sections() local
631 static struct page * __meminit populate_section_memmap(unsigned long pfn, in populate_section_memmap()
681 static int fill_subsection_map(unsigned long pfn, unsigned long nr_pages) in fill_subsection_map()
[all …]
H A Dpage_ext.c157 unsigned long pfn = page_to_pfn(page); in lookup_page_ext() local
236 unsigned long pfn = page_to_pfn(page); in lookup_page_ext() local
268 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
320 static void __free_page_ext(unsigned long pfn) in __free_page_ext()
342 static void __invalidate_page_ext(unsigned long pfn) in __invalidate_page_ext()
358 unsigned long start, end, pfn; in online_page_ext() local
390 unsigned long start, end, pfn; in offline_page_ext() local
444 unsigned long pfn; in page_ext_init() local
H A Dmemory-failure.c77 void num_poisoned_pages_inc(unsigned long pfn) in num_poisoned_pages_inc()
523 unsigned long pfn, int flags) in kill_procs()
733 unsigned long pfn; member
746 unsigned long pfn = 0; in check_hwpoisoned_entry() local
769 unsigned long pfn; in check_hwpoisoned_pmd_entry() local
1347 unsigned long pfn) in page_action()
2182 int memory_failure(unsigned long pfn, int flags) in memory_failure()
2391 unsigned long pfn; member
2497 #define unpoison_pr_info(fmt, pfn, rs) \ argument
2515 int unpoison_memory(unsigned long pfn) in unpoison_memory()
[all …]
H A Dpage_isolation.c38 unsigned long pfn; in has_unmovable_pages() local
267 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
311 unsigned long pfn; in isolate_single_pageblock() local
531 unsigned long pfn; in start_isolate_page_range() local
585 unsigned long pfn; in undo_isolate_page_range() local
607 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn, in __test_page_isolated_in_pageblock()
657 unsigned long pfn, flags; in test_pages_isolated() local
H A Dmemory_hotplug.c326 struct page *pfn_to_online_page(unsigned long pfn) in pfn_to_online_page()
439 unsigned long pfn; in find_biggest_section_pfn() local
462 unsigned long pfn; in shrink_zone_span() local
533 unsigned long pfn, cur_nr_pages; in remove_pfn_range_from_zone() local
573 void __remove_pages(unsigned long pfn, unsigned long nr_pages, in __remove_pages()
647 unsigned long pfn; in online_pages_range() local
728 static void section_taint_zone_device(unsigned long pfn) in section_taint_zone_device()
964 unsigned long pfn, in auto_movable_zone_for_pfn()
1659 unsigned long pfn; in scan_movable_pages() local
1705 unsigned long pfn; in do_migrate_range() local
[all …]
H A Dcma.c83 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap()
99 unsigned long base_pfn = cma->base_pfn, pfn; in cma_activate_area() local
429 unsigned long pfn = -1; in cma_alloc() local
530 unsigned long pfn; in cma_pages_valid() local
559 unsigned long pfn; in cma_release() local
/openbmc/linux/arch/riscv/include/asm/
H A Dpgalloc.h21 unsigned long pfn = virt_to_pfn(pte); in pmd_populate_kernel() local
29 unsigned long pfn = virt_to_pfn(page_address(pte)); in pmd_populate() local
37 unsigned long pfn = virt_to_pfn(pmd); in pud_populate() local
45 unsigned long pfn = virt_to_pfn(pud); in p4d_populate() local
55 unsigned long pfn = virt_to_pfn(pud); in p4d_populate_safe() local
65 unsigned long pfn = virt_to_pfn(p4d); in pgd_populate() local
75 unsigned long pfn = virt_to_pfn(p4d); in pgd_populate_safe() local
/openbmc/linux/arch/x86/include/asm/xen/
H A Dpage.h133 static inline unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
150 static inline unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
156 static inline unsigned long pfn_to_mfn(unsigned long pfn) in pfn_to_mfn()
176 static inline int phys_to_machine_mapping_valid(unsigned long pfn) in phys_to_machine_mapping_valid()
186 unsigned long pfn; in mfn_to_pfn_no_overrides() local
206 unsigned long pfn; in mfn_to_pfn() local
243 static inline unsigned long pfn_to_gfn(unsigned long pfn) in pfn_to_gfn()
260 #define pfn_to_bfn(pfn) pfn_to_gfn(pfn) argument
285 unsigned long pfn; in bfn_to_local_pfn() local
/openbmc/linux/arch/arm/mm/
H A Dflush.c38 static void flush_pfn_alias(unsigned long pfn, unsigned long vaddr) in flush_pfn_alias()
52 static void flush_icache_alias(unsigned long pfn, unsigned long vaddr, unsigned long len) in flush_icache_alias()
98 void flush_cache_pages(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn, unsi… in flush_cache_pages()
115 #define flush_pfn_alias(pfn,vaddr) do { } while (0) argument
116 #define flush_icache_alias(pfn,vaddr,len) do { } while (0) argument
255 unsigned long start, offset, pfn; in __flush_dcache_aliases() local
287 unsigned long pfn; in __sync_icache_dcache() local
384 unsigned long pfn; in __flush_anon_page() local
H A Dioremap.c188 remap_area_sections(unsigned long virt, unsigned long pfn, in remap_area_sections()
215 remap_area_supersections(unsigned long virt, unsigned long pfn, in remap_area_supersections()
249 static void __iomem * __arm_ioremap_pfn_caller(unsigned long pfn, in __arm_ioremap_pfn_caller()
332 unsigned long pfn = __phys_to_pfn(phys_addr); in __arm_ioremap_caller() local
355 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __arm_ioremap_pfn()
493 unsigned long pfn = PHYS_PFN(offset); in arch_memremap_can_ram_remap() local
H A Dfault-armv.c37 unsigned long pfn, pte_t *ptep) in do_adjust_pte()
89 unsigned long pfn) in adjust_pte()
136 unsigned long addr, pte_t *ptep, unsigned long pfn) in make_coherent()
186 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache_range() local
/openbmc/linux/include/xen/arm/
H A Dpage.h15 #define phys_to_machine_mapping_valid(pfn) (1) argument
47 static inline unsigned long pfn_to_gfn(unsigned long pfn) in pfn_to_gfn()
58 static inline unsigned long pfn_to_bfn(unsigned long pfn) in pfn_to_bfn()
107 static inline bool set_phys_to_machine(unsigned long pfn, unsigned long mfn) in set_phys_to_machine()
/openbmc/linux/arch/x86/kernel/
H A Dcrash_dump_64.c15 static ssize_t __copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, in __copy_oldmem_page()
38 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, in copy_oldmem_page()
49 ssize_t copy_oldmem_page_encrypted(struct iov_iter *iter, unsigned long pfn, in copy_oldmem_page_encrypted()
H A Dcrash_dump_32.c15 static inline bool is_crashed_pfn_valid(unsigned long pfn) in is_crashed_pfn_valid()
31 ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, in copy_oldmem_page()
/openbmc/linux/scripts/gdb/linux/
H A Dmm.py133 def pfn_to_section_nr(self, pfn): argument
139 def __pfn_to_section(self, pfn): argument
142 def pfn_to_section(self, pfn): argument
145 def subsection_map_index(self, pfn): argument
148 def pfn_section_valid(self, ms, pfn): argument
165 def pfn_valid(self, pfn): argument
216 def PFN_PHYS(self, pfn): argument
228 def __pfn_to_phys(self, pfn): argument
246 def pfn_to_kaddr(self, pfn): argument
261 def pfn_to_page(self, pfn): argument
/openbmc/linux/arch/arm/xen/
H A Dp2m.c23 unsigned long pfn; member
64 unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
150 bool __set_phys_to_machine_multi(unsigned long pfn, in __set_phys_to_machine_multi()
199 bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn) in __set_phys_to_machine()
/openbmc/linux/arch/x86/mm/pat/
H A Dmemtype.c458 u64 pfn; in reserve_ram_pages_type() local
500 u64 pfn; in free_ram_pages_type() local
709 bool pat_pfn_immune_to_uc_mtrr(unsigned long pfn) in pat_pfn_immune_to_uc_mtrr()
785 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
796 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
802 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
821 int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn, in phys_mem_access_prot_allowed()
1015 unsigned long pfn, unsigned long addr, unsigned long size) in track_pfn_remap()
1054 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
1072 void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn, in untrack_pfn()
/openbmc/linux/arch/sh/include/asm/
H A Dmmzone.h11 static inline int pfn_to_nid(unsigned long pfn) in pfn_to_nid()
22 static inline struct pglist_data *pfn_to_pgdat(unsigned long pfn) in pfn_to_pgdat()
/openbmc/linux/drivers/ras/
H A Dcec.c186 static int __find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in __find_elem()
223 static int find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in find_elem()
271 u64 pfn; in del_lru_elem() local
321 static int cec_add_elem(u64 pfn) in cec_add_elem()
362 u64 pfn = ca->array[to] >> PAGE_SHIFT; in cec_add_elem() local
483 struct dentry *d, *pfn, *decay, *count, *array; in create_debugfs_nodes() local

12345678910>>...19