Home
last modified time | relevance | path

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

12

/include/linux/
Dpfn_t.h29 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 …]
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
Dhighmem-internal.h87 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()
Dset_memory.h59 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()
Diova.h113 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()
Dmmzone.h36 #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 …]
Dmemremap.h220 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()
Dpgtable.h1466 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()
Dmm.h1924 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 …]
Dmigrate.h174 static inline unsigned long migrate_pfn(unsigned long pfn) in migrate_pfn()
Dvmalloc.h109 u64 pfn, unsigned int max_page_shift) in arch_vmap_pte_range_map_size()
Dkvm_types.h76 kvm_pfn_t pfn; member
Dmemory_hotplug.h229 #define pfn_to_online_page(pfn) \ argument
Dkvm_host.h105 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()
Drmap.h650 unsigned long pfn; member
Dhugetlb.h453 static inline int get_huge_page_for_hwpoison(unsigned long pfn, int flags, in get_huge_page_for_hwpoison()
Dhyperv.h80 u64 pfn; member
654 u64 pfn[]; member
/include/asm-generic/
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
Dcacheflush.h45 unsigned long pfn) in flush_cache_page()
Dpage.h82 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt()
Dhyperv-tlfs.h110 u64 pfn:52; member
/include/xen/arm/
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()
/include/xen/interface/hvm/
Dhvm_op.h45 uint64_t pfn; member
/include/xen/
Dxen-ops.h52 xen_pfn_t *pfn, int nr, int *err_ptr, in xen_remap_pfn()
Dgrant_table.h203 xen_pfn_t *pfn; member

12