/include/linux/ |
D | pfn_t.h | 29 static inline pfn_t __pfn_to_pfn_t(unsigned long pfn, u64 flags) in __pfn_to_pfn_t() 37 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() 87 static inline pmd_t pfn_t_pmd(pfn_t pfn, pgprot_t pgprot) in pfn_t_pmd() 93 static inline pud_t pfn_t_pud(pfn_t pfn, pgprot_t pgprot) in pfn_t_pud() [all …]
|
D | pageblock-flags.h | 56 #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
|
D | highmem-internal.h | 87 static inline void *kmap_local_pfn(unsigned long pfn) in kmap_local_pfn() 113 static inline void *kmap_atomic_pfn(unsigned long pfn) in kmap_atomic_pfn() 198 static inline void *kmap_local_pfn(unsigned long pfn) in kmap_local_pfn() 225 static inline void *kmap_atomic_pfn(unsigned long pfn) in kmap_atomic_pfn()
|
D | set_memory.h | 59 static inline int set_mce_nospec(unsigned long pfn) in set_mce_nospec() 63 static inline int clear_mce_nospec(unsigned long pfn) in clear_mce_nospec()
|
D | iova.h | 113 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova() 130 unsigned long pfn, in free_iova_fast() 157 unsigned long pfn) in find_iova()
|
D | mmzone.h | 36 #define IS_MAX_ORDER_ALIGNED(pfn) IS_ALIGNED(pfn, MAX_ORDER_NR_PAGES) argument 1047 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() 1785 #define pfn_to_nid(pfn) (0) argument 1809 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() 1818 #define SECTION_ALIGN_UP(pfn) (((pfn) + PAGES_PER_SECTION - 1) & PAGE_SECTION_MASK) argument 1819 #define SECTION_ALIGN_DOWN(pfn) ((pfn) & PAGE_SECTION_MASK) argument 1834 #define SUBSECTION_ALIGN_UP(pfn) ALIGN((pfn), PAGES_PER_SUBSECTION) argument 1835 #define SUBSECTION_ALIGN_DOWN(pfn) ((pfn) & PAGE_SUBSECTION_MASK) argument 2015 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section() 2022 static inline int subsection_map_index(unsigned long pfn) in subsection_map_index() [all …]
|
D | memremap.h | 220 static inline struct dev_pagemap *get_dev_pagemap(unsigned long pfn, in get_dev_pagemap() 226 static inline bool pgmap_pfn_valid(struct dev_pagemap *pgmap, unsigned long pfn) in pgmap_pfn_valid()
|
D | pgtable.h | 1466 unsigned long pfn, unsigned long addr, in track_pfn_remap() 1477 pfn_t pfn) in track_pfn_insert() 1496 unsigned long pfn, unsigned long size, in untrack_pfn() 1522 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() 1532 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() 1545 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() 1731 static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot) in pfn_modify_allowed()
|
D | mm.h | 1924 static inline struct folio *pfn_folio(unsigned long pfn) in pfn_folio() 2057 unsigned long node, unsigned long pfn) in set_page_links() 3212 static inline int early_pfn_to_nid(unsigned long pfn) in early_pfn_to_nid() 3556 unsigned long addr, unsigned long pfn, in io_remap_pfn_range() 3918 static inline void memory_failure_queue(unsigned long pfn, int flags) in memory_failure_queue() 3922 static inline int __get_huge_page_for_hwpoison(unsigned long pfn, int flags, in __get_huge_page_for_hwpoison() 3928 static inline void num_poisoned_pages_inc(unsigned long pfn) in num_poisoned_pages_inc() 3932 static inline void num_poisoned_pages_sub(unsigned long pfn, long i) in num_poisoned_pages_sub() 3947 static inline void memblk_nr_poison_inc(unsigned long pfn) in memblk_nr_poison_inc() 3951 static inline void memblk_nr_poison_sub(unsigned long pfn, long i) in memblk_nr_poison_sub() [all …]
|
D | migrate.h | 174 static inline unsigned long migrate_pfn(unsigned long pfn) in migrate_pfn()
|
D | vmalloc.h | 109 u64 pfn, unsigned int max_page_shift) in arch_vmap_pte_range_map_size()
|
D | kvm_types.h | 76 kvm_pfn_t pfn; member
|
D | memory_hotplug.h | 229 #define pfn_to_online_page(pfn) \ argument
|
D | kvm_host.h | 105 static inline bool is_error_pfn(kvm_pfn_t pfn) in is_error_pfn() 114 static inline bool is_sigpending_pfn(kvm_pfn_t pfn) in is_sigpending_pfn() 124 static inline bool is_error_noslot_pfn(kvm_pfn_t pfn) in is_error_noslot_pfn() 130 static inline bool is_noslot_pfn(kvm_pfn_t pfn) in is_noslot_pfn() 294 kvm_pfn_t pfn; member 1754 static inline hpa_t pfn_to_hpa(kvm_pfn_t pfn) in pfn_to_hpa()
|
D | rmap.h | 650 unsigned long pfn; member
|
D | hugetlb.h | 453 static inline int get_huge_page_for_hwpoison(unsigned long pfn, int flags, in get_huge_page_for_hwpoison()
|
D | hyperv.h | 80 u64 pfn; member 654 u64 pfn[]; member
|
/include/asm-generic/ |
D | memory_model.h | 18 #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
|
D | cacheflush.h | 45 unsigned long pfn) in flush_cache_page()
|
D | page.h | 82 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt()
|
D | hyperv-tlfs.h | 110 u64 pfn:52; member
|
/include/xen/arm/ |
D | page.h | 15 #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()
|
/include/xen/interface/hvm/ |
D | hvm_op.h | 45 uint64_t pfn; member
|
/include/xen/ |
D | xen-ops.h | 52 xen_pfn_t *pfn, int nr, int *err_ptr, in xen_remap_pfn()
|
D | grant_table.h | 203 xen_pfn_t *pfn; member
|