Home
last modified time | relevance | path

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

12345678910>>...17

/linux/include/linux/
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 …]
/linux/arch/x86/xen/
A Dp2m.c137 static inline unsigned p2m_index(unsigned long pfn) in p2m_index()
219 unsigned long pfn, mfn; in xen_build_mfn_list_list() local
297 unsigned long pfn; in xen_build_dynamic_phys_to_machine() local
313 static int xen_p2m_elem_type(unsigned long pfn) in xen_p2m_elem_type()
334 unsigned long pfn; in xen_rebuild_p2m_list() local
435 unsigned long get_phys_to_machine(unsigned long pfn) in get_phys_to_machine()
531 int xen_alloc_p2m_entry(unsigned long pfn) in xen_alloc_p2m_entry()
633 unsigned long pfn; in set_phys_range_identity() local
711 unsigned long mfn, pfn; in set_foreign_p2m_mapping() local
788 unsigned long pfn = page_to_pfn(pages[i]); in clear_foreign_p2m_mapping() local
[all …]
A Dmmu_pv.c319 unsigned long pfn = mfn_to_pfn(mfn); in pte_mfn_to_pfn() local
334 unsigned long pfn = (val & PTE_PFN_MASK) >> PAGE_SHIFT; in pte_pfn_to_mfn() local
666 static void xen_do_pin(unsigned level, unsigned long pfn) in xen_do_pin()
683 unsigned long pfn = page_to_pfn(page); in xen_pin_page() local
808 unsigned long pfn = page_to_pfn(page); in xen_unpin_page() local
1450 unsigned long pfn; in xen_make_pte_init() local
1586 static void xen_release_pte(unsigned long pfn) in xen_release_pte()
1591 static void xen_release_pmd(unsigned long pfn) in xen_release_pmd()
1601 static void xen_release_pud(unsigned long pfn) in xen_release_pud()
1636 unsigned long pfn = __pa(addr) >> PAGE_SHIFT; in set_page_prot_flags() local
[all …]
/linux/arch/x86/include/asm/
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
/linux/mm/
A Dsparse.c185 static void subsection_mask_set(unsigned long *map, unsigned long pfn, in subsection_mask_set()
194 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
220 void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages) in subsection_map_init()
228 unsigned long pfn; in memory_present() local
429 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()
702 struct page * __meminit populate_section_memmap(unsigned long pfn, in populate_section_memmap()
[all …]
A Dpage_isolation.c73 unsigned long pfn, buddy_pfn; in unset_migratetype_isolate() local
131 __first_valid_page(unsigned long pfn, unsigned long nr_pages) in __first_valid_page()
190 unsigned long pfn; in start_isolate_page_range() local
214 unsigned long pfn; in undo_isolate_page_range() local
237 __test_page_isolated_in_pageblock(unsigned long pfn, unsigned long end_pfn, in __test_page_isolated_in_pageblock()
273 unsigned long pfn, flags; in test_pages_isolated() local
A Dmemory-failure.c399 unsigned long pfn, int flags) in kill_procs()
572 unsigned long pfn; member
585 unsigned long pfn = 0; in check_hwpoisoned_entry() local
608 unsigned long pfn; in check_hwpoisoned_pmd_entry() local
1140 unsigned long pfn) in page_action()
1440 unsigned long pfn = page_to_pfn(page); in try_to_split_thp_page() local
1635 int memory_failure(unsigned long pfn, int flags) in memory_failure()
1845 unsigned long pfn; member
1945 #define unpoison_pr_info(fmt, pfn, rs) \ argument
1963 int unpoison_memory(unsigned long pfn) in unpoison_memory()
[all …]
A Dpage_ext.c134 unsigned long pfn = page_to_pfn(page); in lookup_page_ext() local
208 unsigned long pfn = page_to_pfn(page); in lookup_page_ext() local
237 static int __meminit init_section_page_ext(unsigned long pfn, int nid) in init_section_page_ext()
289 static void __free_page_ext(unsigned long pfn) in __free_page_ext()
306 unsigned long start, end, pfn; in online_page_ext() local
337 unsigned long start, end, pfn; in offline_page_ext() local
379 unsigned long pfn; in page_ext_init() local
A Dmemremap.c76 unsigned long pfn = PHYS_PFN(range->start); in pfn_first() local
83 bool pgmap_pfn_valid(struct dev_pagemap *pgmap, unsigned long pfn) in pgmap_pfn_valid()
105 static unsigned long pfn_next(unsigned long pfn) in pfn_next()
112 #define for_each_device_pfn(pfn, map, i) \ argument
167 unsigned long pfn; in memunmap_pages() local
472 struct dev_pagemap *get_dev_pagemap(unsigned long pfn, in get_dev_pagemap()
A Dmemory_hotplug.c255 struct page *pfn_to_online_page(unsigned long pfn) in pfn_to_online_page()
372 unsigned long pfn; in find_biggest_section_pfn() local
395 unsigned long pfn; in shrink_zone_span() local
466 unsigned long pfn, cur_nr_pages; in remove_pfn_range_from_zone() local
594 unsigned long pfn; in online_pages_range() local
663 static void section_taint_zone_device(unsigned long pfn) in section_taint_zone_device()
894 unsigned long pfn, in auto_movable_zone_for_pfn()
1599 unsigned long pfn, sec_end_pfn; in test_pages_in_a_zone() local
1638 unsigned long pfn; in scan_movable_pages() local
1685 unsigned long pfn; in do_migrate_range() local
[all …]
A Dcompaction.c48 #define block_start_pfn(pfn, order) round_down(pfn, 1UL << (order)) argument
49 #define block_end_pfn(pfn, order) ALIGN((pfn) + 1, 1UL << (order)) argument
51 #define pageblock_end_pfn(pfn) block_end_pfn(pfn, pageblock_order) argument
77 unsigned long pfn = page_to_pfn(page); in release_freepages() local
403 unsigned long pfn) in test_and_set_skip()
443 struct page *page, unsigned long pfn) in update_pageblock_skip()
472 struct page *page, unsigned long pfn) in update_pageblock_skip()
481 unsigned long pfn) in test_and_set_skip()
1189 unsigned long pfn, block_start_pfn, block_end_pfn; in isolate_migratepages_range() local
1436 unsigned long pfn; in fast_isolate_freepages() local
[all …]
A Dcma.c81 static void cma_clear_bitmap(struct cma *cma, unsigned long pfn, in cma_clear_bitmap()
97 unsigned long base_pfn = cma->base_pfn, pfn; in cma_activate_area() local
430 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
/linux/include/asm-generic/
A Dmemory_model.h18 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) argument
25 #define __pfn_to_page(pfn) (vmemmap + (pfn)) argument
39 #define __pfn_to_page(pfn) \ argument
50 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) argument
/linux/arch/x86/include/asm/xen/
A Dpage.h141 static inline unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
158 static inline unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
164 static inline unsigned long pfn_to_mfn(unsigned long pfn) in pfn_to_mfn()
184 static inline int phys_to_machine_mapping_valid(unsigned long pfn) in phys_to_machine_mapping_valid()
194 unsigned long pfn; in mfn_to_pfn_no_overrides() local
214 unsigned long pfn; in mfn_to_pfn() local
251 static inline unsigned long pfn_to_gfn(unsigned long pfn) in pfn_to_gfn()
268 #define pfn_to_bfn(pfn) pfn_to_gfn(pfn) argument
293 unsigned long pfn; in bfn_to_local_pfn() local
/linux/arch/arm/mm/
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_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in flush_cache_page()
115 #define flush_pfn_alias(pfn,vaddr) do { } while (0) argument
116 #define flush_icache_alias(pfn,vaddr,len) do { } while (0) argument
271 unsigned long pfn; in __sync_icache_dcache() local
359 unsigned long pfn; in __flush_anon_page() local
A Dfault-armv.c37 unsigned long pfn, pte_t *ptep) in do_adjust_pte()
89 unsigned long pfn) in adjust_pte()
134 unsigned long addr, pte_t *ptep, unsigned long pfn) in make_coherent()
184 unsigned long pfn = pte_pfn(*ptep); in update_mmu_cache() local
/linux/include/xen/arm/
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()
/linux/arch/x86/kernel/
A Dcrash_dump_64.c15 static ssize_t __copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in __copy_oldmem_page()
58 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page()
69 ssize_t copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page_encrypted()
A Dcrash_dump_32.c16 static inline bool is_crashed_pfn_valid(unsigned long pfn) in is_crashed_pfn_valid()
45 ssize_t copy_oldmem_page(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page()
/linux/arch/arm/xen/
A Dp2m.c23 unsigned long pfn; member
64 unsigned long __pfn_to_mfn(unsigned long pfn) in __pfn_to_mfn()
149 bool __set_phys_to_machine_multi(unsigned long pfn, in __set_phys_to_machine_multi()
197 bool __set_phys_to_machine(unsigned long pfn, unsigned long mfn) in __set_phys_to_machine()
/linux/arch/riscv/include/asm/
A Dpgalloc.h19 unsigned long pfn = virt_to_pfn(pte); in pmd_populate_kernel() local
27 unsigned long pfn = virt_to_pfn(page_address(pte)); in pmd_populate() local
35 unsigned long pfn = virt_to_pfn(pmd); in pud_populate() local
/linux/kernel/power/
A Dsnapshot.c917 unsigned long bits, pfn, pages; in memory_bm_next_pfn() local
1084 unsigned long pfn; in mark_nosave_pages() local
1192 unsigned long pfn; in clear_or_poison_free_pages() local
1294 unsigned long pfn, max_zone_pfn; in count_highmem_pages() local
1359 unsigned long pfn, max_zone_pfn; in count_data_pages() local
1455 unsigned long pfn; in copy_data_pages() local
1666 unsigned long pfn = memory_bm_next_pfn(&copy_bm); in free_unnecessary_pages() local
2185 unsigned long pfn; in duplicate_memory_bitmap() local
2203 unsigned long pfn; in mark_unsafe_pages() local
2302 unsigned long pfn; in count_highmem_image_pages() local
[all …]
/linux/arch/x86/mm/pat/
A Dmemtype.c497 u64 pfn; in reserve_ram_pages_type() local
539 u64 pfn; in free_ram_pages_type() local
748 bool pat_pfn_immune_to_uc_mtrr(unsigned long pfn) in pat_pfn_immune_to_uc_mtrr()
824 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
835 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
841 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed()
860 int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn, in phys_mem_access_prot_allowed()
1029 unsigned long pfn, unsigned long addr, unsigned long size) in track_pfn_remap()
1068 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
1086 void untrack_pfn(struct vm_area_struct *vma, unsigned long pfn, in untrack_pfn()
/linux/arch/m68k/include/asm/
A Dpage_no.h24 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) argument
29 #define pfn_to_page(pfn) virt_to_page(pfn_to_virt(pfn)) argument
31 #define pfn_valid(pfn) ((pfn) < max_mapnr) argument
/linux/drivers/ras/
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

Completed in 60 milliseconds

12345678910>>...17