/linux-4.19.296/include/linux/ |
D | pfn_t.h | 27 static inline pfn_t __pfn_to_pfn_t(unsigned long pfn, u64 flags) in __pfn_to_pfn_t() 35 static inline pfn_t pfn_to_pfn_t(unsigned long pfn) in pfn_to_pfn_t() 45 static inline bool pfn_t_has_page(pfn_t pfn) in pfn_t_has_page() 50 static inline unsigned long pfn_t_to_pfn(pfn_t pfn) in pfn_t_to_pfn() 55 static inline struct page *pfn_t_to_page(pfn_t pfn) in pfn_t_to_page() 62 static inline phys_addr_t pfn_t_to_phys(pfn_t pfn) in pfn_t_to_phys() 67 static inline void *pfn_t_to_virt(pfn_t pfn) in pfn_t_to_virt() 79 static inline int pfn_t_valid(pfn_t pfn) in pfn_t_valid() 85 static inline pte_t pfn_t_pte(pfn_t pfn, pgprot_t pgprot) in pfn_t_pte() 92 static inline pmd_t pfn_t_pmd(pfn_t pfn, pgprot_t pgprot) in pfn_t_pmd() [all …]
|
D | set_memory.h | 21 static inline int set_mce_nospec(unsigned long pfn, bool unmap) in set_mce_nospec() 28 static inline int clear_mce_nospec(unsigned long pfn) in clear_mce_nospec()
|
D | mmzone.h | 530 static inline bool zone_spans_pfn(const struct zone *zone, unsigned long pfn) in zone_spans_pfn() 1061 static inline unsigned long early_pfn_to_nid(unsigned long pfn) in early_pfn_to_nid() 1069 #define pfn_to_nid(pfn) (0) argument 1095 static inline unsigned long pfn_to_section_nr(unsigned long pfn) in pfn_to_section_nr() 1104 #define SECTION_ALIGN_UP(pfn) (((pfn) + PAGES_PER_SECTION - 1) & PAGE_SECTION_MASK) argument 1105 #define SECTION_ALIGN_DOWN(pfn) ((pfn) & PAGE_SECTION_MASK) argument 1236 static inline struct mem_section *__pfn_to_section(unsigned long pfn) in __pfn_to_section() 1244 static inline int pfn_valid(unsigned long pfn) in pfn_valid() 1252 static inline int pfn_present(unsigned long pfn) in pfn_present() 1265 #define pfn_to_nid(pfn) \ argument [all …]
|
D | hmm.h | 165 uint64_t pfn) in hmm_pfn_to_page() 185 uint64_t pfn) in hmm_pfn_to_pfn() 218 unsigned long pfn) in hmm_pfn_from_pfn()
|
D | iova.h | 186 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova() 203 unsigned long pfn, in free_iova_fast() 209 unsigned long pfn, unsigned long pages, in queue_iova() 253 unsigned long pfn) in find_iova()
|
D | memory_hotplug.h | 24 #define pfn_to_online_page(pfn) \ argument 222 #define pfn_to_online_page(pfn) \ argument 307 static inline bool is_mem_section_removable(unsigned long pfn, in is_mem_section_removable()
|
D | ras.h | 25 static inline int cec_add_elem(u64 pfn) { return -ENODEV; } in cec_add_elem()
|
/linux-4.19.296/include/asm-generic/ |
D | memory_model.h | 18 #define arch_pfn_to_nid(pfn) pfn_to_nid(pfn) argument 22 #define arch_local_page_offset(pfn, nid) \ argument 33 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) argument 38 #define __pfn_to_page(pfn) \ argument 54 #define __pfn_to_page(pfn) (vmemmap + (pfn)) argument 68 #define __pfn_to_page(pfn) \ argument 79 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) argument
|
D | page.h | 82 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) argument 91 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr) argument
|
D | pgtable.h | 768 unsigned long pfn, unsigned long addr, in track_pfn_remap() 779 pfn_t pfn) in track_pfn_insert() 798 unsigned long pfn, unsigned long size) in untrack_pfn() 821 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() 831 static inline int is_zero_pfn(unsigned long pfn) in is_zero_pfn() 1087 static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot) in pfn_modify_allowed()
|
/linux-4.19.296/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() 100 static inline bool set_phys_to_machine(unsigned long pfn, unsigned long mfn) in set_phys_to_machine()
|
D | page-coherent.h | 69 unsigned long pfn = PFN_DOWN(handle); in xen_dma_unmap_page() local 88 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_cpu() local 99 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_device() local
|
/linux-4.19.296/drivers/ras/ |
D | cec.c | 182 static int __find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in __find_elem() 219 static int find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in find_elem() 267 u64 pfn; in del_lru_elem() local 280 int cec_add_elem(u64 pfn) in cec_add_elem() 327 u64 pfn = ca->array[to] >> PAGE_SHIFT; in cec_add_elem() local 460 struct dentry *d, *pfn, *decay, *count, *array; in create_debugfs_nodes() local
|
/linux-4.19.296/fs/proc/ |
D | page.c | 35 unsigned long pfn; in kpagecount_read() local 212 unsigned long pfn; in kpageflags_read() local 257 unsigned long pfn; in kpagecgroup_read() local
|
D | kcore.c | 63 int __init register_mem_pfn_is_ram(int (*fn)(unsigned long pfn)) in register_mem_pfn_is_ram() 71 static int pfn_is_ram(unsigned long pfn) in pfn_is_ram() 146 unsigned long pfn = __pa(ent->addr) >> PAGE_SHIFT; in get_sparsemem_vmemmap_info() local 185 kclist_add_private(unsigned long pfn, unsigned long nr_pages, void *arg) in kclist_add_private()
|
D | vmcore.c | 65 int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn)) in register_oldmem_pfn_is_ram() 81 static int pfn_is_ram(unsigned long pfn) in pfn_is_ram() 103 unsigned long pfn, offset; in read_from_oldmem() local 178 unsigned long from, unsigned long pfn, in remap_oldmem_pfn_range() 188 copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csize, in copy_oldmem_page_encrypted() 476 unsigned long from, unsigned long pfn, in remap_oldmem_pfn_checked() 526 unsigned long from, unsigned long pfn, in vmcore_remap_oldmem_pfn() 561 u64 pfn; in mmap_vmcore() local
|
/linux-4.19.296/fs/ |
D | dax.c | 81 static void *dax_radix_locked_entry(unsigned long pfn, unsigned long flags) in dax_radix_locked_entry() 347 #define for_each_mapped_pfn(entry, pfn) \ argument 359 unsigned long size = dax_entry_size(entry), pfn, index; in dax_associate_entry() local 378 unsigned long pfn; in dax_disassociate_entry() local 395 unsigned long pfn; in dax_busy_page() local 806 unsigned long pfn = pfn_t_to_pfn(pfn_t); in dax_insert_mapping_entry() local 868 pgoff_t index, unsigned long pfn) in dax_mapping_entry_mkclean() 944 unsigned long pfn; in dax_writeback_one() local 1132 pfn_t pfn = pfn_to_pfn_t(my_zero_pfn(vaddr)); in dax_load_hole() local 1357 pfn_t pfn; in dax_iomap_pte_fault() local [all …]
|
/linux-4.19.296/drivers/xen/ |
D | mem-reservation.c | 37 unsigned long pfn = page_to_pfn(page); in __xenmem_reservation_va_mapping_update() local 70 unsigned long pfn = page_to_pfn(page); in __xenmem_reservation_va_mapping_reset() local
|
D | balloon.c | 283 unsigned long pfn = res->start >> PAGE_SHIFT; in additional_memory_resource() local 339 unsigned long pfn, i; in reserve_additional_memory() local 711 unsigned long pfn, extra_pfn_end; in balloon_add_region() local
|
/linux-4.19.296/drivers/char/ |
D | mem.c | 57 static inline int valid_mmap_phys_addr_range(unsigned long pfn, size_t size) in valid_mmap_phys_addr_range() 64 static inline int page_is_allowed(unsigned long pfn) in page_is_allowed() 68 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed() 83 static inline int page_is_allowed(unsigned long pfn) in page_is_allowed() 87 static inline int range_is_allowed(unsigned long pfn, unsigned long size) in range_is_allowed() 272 unsigned long pfn, unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed() 313 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 414 unsigned long pfn; in mmap_kmem() local
|
/linux-4.19.296/virt/kvm/arm/ |
D | mmu.c | 95 static bool kvm_is_device_pfn(unsigned long pfn) in kvm_is_device_pfn() 608 unsigned long end, unsigned long pfn, in create_hyp_pte_mappings() 624 unsigned long end, unsigned long pfn, in create_hyp_pmd_mappings() 657 unsigned long end, unsigned long pfn, in create_hyp_pud_mappings() 691 unsigned long pfn, pgprot_t prot) in __create_hyp_mappings() 1205 unsigned long pfn; in kvm_phys_addr_ioremap() local 1238 kvm_pfn_t pfn = *pfnp; in transparent_hugepage_adjust() local 1456 static void clean_dcache_guest_page(kvm_pfn_t pfn, unsigned long size) in clean_dcache_guest_page() 1461 static void invalidate_icache_guest_page(kvm_pfn_t pfn, unsigned long size) in invalidate_icache_guest_page() 1496 kvm_pfn_t pfn; in user_mem_abort() local [all …]
|
/linux-4.19.296/drivers/edac/ |
D | cell_edac.c | 38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local 61 unsigned long address, pfn, offset; in cell_edac_count_ue() local
|
/linux-4.19.296/drivers/base/ |
D | memory.c | 42 static inline int pfn_to_block_id(unsigned long pfn) in pfn_to_block_id() 133 unsigned long i, pfn; in show_mem_removable() local 203 unsigned long pfn = start_pfn; in pages_correctly_probed() local 549 u64 pfn; in store_soft_offline_page() local 571 u64 pfn; in store_hard_offline_page() local
|
/linux-4.19.296/drivers/media/common/videobuf2/ |
D | videobuf2-dma-contig.c | 456 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 461 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 466 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma() 471 static inline dma_addr_t vb2_dc_pfn_to_dma(struct device *dev, unsigned long pfn) in vb2_dc_pfn_to_dma()
|
/linux-4.19.296/virt/kvm/ |
D | kvm_main.c | 151 bool kvm_is_zone_device_pfn(kvm_pfn_t pfn) in kvm_is_zone_device_pfn() 165 bool kvm_is_reserved_pfn(kvm_pfn_t pfn) in kvm_is_reserved_pfn() 1430 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() 1460 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() 1505 static int kvm_try_get_pfn(kvm_pfn_t pfn) in kvm_try_get_pfn() 1517 kvm_pfn_t pfn; in hva_to_pfn_remapped() local 1596 kvm_pfn_t pfn = 0; in hva_to_pfn() local 1730 static struct page *kvm_pfn_to_page(kvm_pfn_t pfn) in kvm_pfn_to_page() 1745 kvm_pfn_t pfn; in gfn_to_page() local 1753 void kvm_release_pfn(kvm_pfn_t pfn, bool dirty, struct gfn_to_pfn_cache *cache) in kvm_release_pfn() [all …]
|