/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | memtrace.c | 94 unsigned long pfn; in memtrace_clear_range() local 114 unsigned long pfn, start_pfn; in memtrace_alloc_node() local 218 unsigned long pfn; in memtrace_free() local
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | e500_mmu_host.c | 164 kvm_pfn_t pfn; in kvmppc_map_magic() local 247 kvm_pfn_t pfn, unsigned int wimg) in kvmppc_e500_ref_setup() 310 kvm_pfn_t pfn = ref->pfn; in kvmppc_e500_setup_stlbe() local 328 unsigned long pfn = 0; /* silence GCC warning */ in kvmppc_e500_shadow_map() local 630 hfn_t pfn; in kvmppc_load_last_inst() local
|
/openbmc/linux/arch/sh/mm/ |
H A D | cache-sh7705.c | 143 unsigned long pfn = folio_pfn(folio); in sh7705_flush_dcache_folio() local 171 unsigned long pfn = data->addr2; in sh7705_flush_cache_page() local
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_mem.c | 924 unsigned long pfn; in virtio_mem_sbm_notify_going_offline() local 940 unsigned long pfn; in virtio_mem_sbm_notify_cancel_offline() local 954 unsigned long pfn, in virtio_mem_bbm_notify_going_offline() 969 unsigned long pfn, in virtio_mem_bbm_notify_cancel_offline() 1118 static void virtio_mem_set_fake_offline(unsigned long pfn, in virtio_mem_set_fake_offline() 1139 static void virtio_mem_clear_fake_offline(unsigned long pfn, in virtio_mem_clear_fake_offline() 1698 unsigned long pfn, nr_pages; in virtio_mem_sbm_plug_any_sb() local 2139 unsigned long pfn; in virtio_mem_bbm_offline_remove_and_unplug_bb() local 2204 unsigned long pfn; in virtio_mem_bbm_bb_is_offline() local 2224 unsigned long pfn; in virtio_mem_bbm_bb_is_movable() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | iova.h | 110 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova() 127 unsigned long pfn, in free_iova_fast() 154 unsigned long pfn) in find_iova()
|
/openbmc/linux/mm/ |
H A D | memremap.c | 75 unsigned long pfn = PHYS_PFN(range->start); in pfn_first() local 82 bool pgmap_pfn_valid(struct dev_pagemap *pgmap, unsigned long pfn) in pgmap_pfn_valid() 446 struct dev_pagemap *get_dev_pagemap(unsigned long pfn, in get_dev_pagemap()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | mem.c | 37 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 296 unsigned long pfn, highmem_mapnr; in mem_init() local 389 int devmem_is_allowed(unsigned long pfn) in devmem_is_allowed()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ultravisor.h | 34 static inline int uv_share_page(u64 pfn, u64 npages) in uv_share_page() 39 static inline int uv_unshare_page(u64 pfn, u64 npages) in uv_unshare_page()
|
/openbmc/linux/tools/testing/scatterlist/ |
H A D | main.c | 11 unsigned *pfn; member 28 #define pfn(...) (unsigned []){ __VA_ARGS__ } macro
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_mm.c | 34 unsigned long pfn; member 95 unsigned long addr, unsigned long pfn, unsigned long size, in remap_io_mapping()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | mmu.c | 183 static bool kvm_is_device_pfn(unsigned long pfn) in kvm_is_device_pfn() 431 u64 pfn; member 439 static struct hyp_shared_pfn *find_shared_pfn(u64 pfn, struct rb_node ***node, in find_shared_pfn() 460 static int share_pfn_hyp(u64 pfn) in share_pfn_hyp() 490 static int unshare_pfn_hyp(u64 pfn) in unshare_pfn_hyp() 519 u64 pfn; in kvm_share_hyp() local 551 u64 pfn; in kvm_unshare_hyp() local 1285 kvm_pfn_t pfn = *pfnp; in transparent_hugepage_adjust() local 1372 static void sanitise_mte_tags(struct kvm *kvm, kvm_pfn_t pfn, in sanitise_mte_tags() 1408 kvm_pfn_t pfn; in user_mem_abort() local [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | vdso.c | 53 unsigned long pfn; in vvar_fault() local 104 unsigned long i, cpu, pfn; in init_vdso() local
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 258 #define pfn_pte(pfn, prot) mk_pte(pfn_to_page(pfn), prot) argument 399 #define MK_IOSPACE_PFN(space, pfn) (pfn | (space << (BITS_PER_LONG - 4))) argument 400 #define GET_IOSPACE(pfn) (pfn >> (BITS_PER_LONG - 4)) argument 401 #define GET_PFN(pfn) (pfn & 0x0fffffffUL) argument 407 unsigned long from, unsigned long pfn, in io_remap_pfn_range()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | cache.c | 107 #define pfn_va(pfn) __va(PFN_PHYS(pfn)) argument 111 unsigned long pfn = pte_pfn(pte); in __update_cache() local 504 unsigned long pfn = folio_pfn(folio); in flush_dcache_folio() local 771 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn) in flush_cache_page() 809 unsigned long pfn = pte_pfn(pte); in ptep_clear_flush() local
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 50 unsigned long pfn; member 252 static bool __cpa_pfn_in_highmap(unsigned long pfn) in __cpa_pfn_in_highmap() 263 static bool __cpa_pfn_in_highmap(unsigned long pfn) in __cpa_pfn_in_highmap() 551 unsigned long pfn, const char *txt) in check_conflict() 574 unsigned long pfn, unsigned long npg, in static_protections() 622 unsigned long pfn, unsigned long npg, in verify_rwx() 1078 unsigned long lpaddr, lpinc, ref_pfn, pfn, pfninc = 1; in __split_large_page() local 1141 unsigned long pfn = PFN_DOWN(__pa(address)); in __split_large_page() local 1647 unsigned long pfn = pte_pfn(old_pte); in __change_page_attr() local 2056 int set_mce_nospec(unsigned long pfn) in set_mce_nospec() [all …]
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 104 static bool pfn_is_ram(unsigned long pfn) in pfn_is_ram() 134 unsigned long pfn, offset; in read_from_oldmem() local 225 unsigned long from, unsigned long pfn, in remap_oldmem_pfn_range() 236 unsigned long pfn, size_t csize, unsigned long offset) in copy_oldmem_page_encrypted() 504 unsigned long from, unsigned long pfn, in remap_oldmem_pfn_checked() 554 unsigned long from, unsigned long pfn, in vmcore_remap_oldmem_pfn() 593 u64 pfn; in mmap_vmcore() local
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | page.h | 169 static inline int devmem_is_allowed(unsigned long pfn) in devmem_is_allowed() 189 #define pfn_to_phys(pfn) ((pfn) << PAGE_SHIFT) argument 194 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() 204 #define pfn_to_kaddr(pfn) pfn_to_virt(pfn) argument
|
/openbmc/linux/lib/ |
H A D | devmem_is_allowed.c | 21 int devmem_is_allowed(unsigned long pfn) in devmem_is_allowed()
|
H A D | test_hmm.c | 210 unsigned long pfn; in dmirror_do_fault() local 244 unsigned long pfn; in dmirror_do_update() local 363 unsigned long pfn; in dmirror_do_read() local 429 unsigned long pfn; in dmirror_do_write() local 498 unsigned long pfn; in dmirror_allocate_chunk() local 696 unsigned long pfn; in dmirror_check_atomic() local 712 unsigned long pfn, mapped = 0; in dmirror_atomic_map() local 746 unsigned long pfn; in dmirror_migrate_finalize_and_map() local
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | page_mm.h | 129 static inline void *pfn_to_virt(unsigned long pfn) in pfn_to_virt() 146 #define pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn)) argument
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | shmem_utils.c | 97 unsigned long pfn; in __shmem_rw() local 132 unsigned long pfn; in shmem_read_to_iosys_map() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmm.c | 258 nvkm_vmm_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes) in nvkm_vmm_unref_ptes() 364 nvkm_vmm_ref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes) in nvkm_vmm_ref_ptes() 394 nvkm_vmm_sparse_unref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes) in nvkm_vmm_sparse_unref_ptes() 406 nvkm_vmm_sparse_ref_ptes(struct nvkm_vmm_iter *it, bool pfn, u32 ptei, u32 ptes) in nvkm_vmm_sparse_ref_ptes() 502 u64 addr, u64 size, const char *name, bool ref, bool pfn, in nvkm_vmm_iter() 681 u64 addr, u64 size, bool sparse, bool pfn) in nvkm_vmm_ptes_unmap() 742 u64 addr, u64 size, bool sparse, bool pfn) in __nvkm_vmm_ptes_unmap_put() 754 u64 addr, u64 size, bool sparse, bool pfn) in nvkm_vmm_ptes_unmap_put() 1267 nvkm_vmm_pfn_map(struct nvkm_vmm *vmm, u8 shift, u64 addr, u64 size, u64 *pfn) in nvkm_vmm_pfn_map() 1407 nvkm_vmm_unmap_locked(struct nvkm_vmm *vmm, struct nvkm_vma *vma, bool pfn) in nvkm_vmm_unmap_locked() [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | suspend.c | 18 int pfn_is_nosave(unsigned long pfn) in pfn_is_nosave()
|
/openbmc/linux/arch/x86/mm/ |
H A D | mem_encrypt_amd.c | 255 unsigned long pfn = 0; in pg_level_to_pfn() local 299 unsigned long pfn; in enc_dec_hypercall() local 353 unsigned long pfn, pa, size; in __set_clr_pte_enc() local
|
/openbmc/linux/arch/csky/mm/ |
H A D | ioremap.c | 8 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
|