Home
last modified time | relevance | path

Searched refs:pfn_t (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/include/linux/
Dpfn_t.h29 static inline pfn_t __pfn_to_pfn_t(unsigned long pfn, u64 flags) in __pfn_to_pfn_t()
31 pfn_t pfn_t = { .val = pfn | (flags & PFN_FLAGS_MASK), }; in __pfn_to_pfn_t() local
33 return pfn_t; in __pfn_to_pfn_t()
37 static inline pfn_t pfn_to_pfn_t(unsigned long pfn) in pfn_to_pfn_t()
42 static inline pfn_t phys_to_pfn_t(phys_addr_t addr, u64 flags) in phys_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()
69 static inline pfn_t page_to_pfn_t(struct page *page) in page_to_pfn_t()
[all …]
Ddax.h24 void **, pfn_t *);
205 void **kaddr, pfn_t *pfn);
217 pfn_t *pfnp, int *errp, const struct iomap_ops *ops);
219 enum page_entry_size pe_size, pfn_t pfn);
Dpfn.h15 } pfn_t; typedef
Dhuge_mm.h50 vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, bool write);
51 vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, bool write);
Ddevice-mapper.h140 long nr_pages, void **kaddr, pfn_t *pfn);
/Linux-v5.4/fs/
Ddax.c88 static void *dax_make_entry(pfn_t pfn, unsigned long flags) in dax_make_entry()
718 void *entry, pfn_t pfn, unsigned long flags, bool dirty) in dax_insert_entry()
992 pfn_t *pfnp) in dax_iomap_pfn()
1036 pfn_t pfn = pfn_to_pfn_t(my_zero_pfn(vaddr)); in dax_load_hole()
1242 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault()
1258 pfn_t pfn; in dax_iomap_pte_fault()
1422 pfn_t pfn; in dax_pmd_load_hole()
1463 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
1480 pfn_t pfn; in dax_iomap_pmd_fault()
1623 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
[all …]
/Linux-v5.4/drivers/dax/
Ddevice.c79 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pte_fault()
111 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pmd_fault()
160 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pud_fault()
209 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pud_fault()
222 pfn_t pfn; in dev_dax_huge_fault()
Dsuper.c77 pfn_t pfn, end_pfn; in __generic_fsdax_supported()
297 void **kaddr, pfn_t *pfn) in dax_direct_access()
/Linux-v5.4/drivers/nvdimm/
Dpmem.h30 long nr_pages, void **kaddr, pfn_t *pfn);
Dpmem.c244 long nr_pages, void **kaddr, pfn_t *pfn) in __pmem_direct_access()
273 pgoff_t pgoff, long nr_pages, void **kaddr, pfn_t *pfn) in pmem_dax_direct_access()
/Linux-v5.4/tools/testing/nvdimm/
Dpmem-dax.c11 long nr_pages, void **kaddr, pfn_t *pfn) in __pmem_direct_access()
/Linux-v5.4/drivers/md/
Ddm-target.c145 long nr_pages, void **kaddr, pfn_t *pfn) in io_err_dax_direct_access()
Ddm-linear.c167 long nr_pages, void **kaddr, pfn_t *pfn) in linear_dax_direct_access()
Ddm-stripe.c318 long nr_pages, void **kaddr, pfn_t *pfn) in stripe_dax_direct_access()
Ddm-log-writes.c949 long nr_pages, void **kaddr, pfn_t *pfn) in log_writes_dax_direct_access()
/Linux-v5.4/include/trace/events/
Dfs_dax.h107 long length, pfn_t pfn, void *radix_entry),
148 long length, pfn_t pfn, void *radix_entry), \
/Linux-v5.4/drivers/s390/block/
Ddcssblk.c37 long nr_pages, void **kaddr, pfn_t *pfn);
920 long nr_pages, void **kaddr, pfn_t *pfn) in __dcssblk_direct_access()
937 long nr_pages, void **kaddr, pfn_t *pfn) in dcssblk_dax_direct_access()
/Linux-v5.4/include/asm-generic/
Dpgtable.h817 pfn_t pfn) in track_pfn_insert()
851 pfn_t pfn);
/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_gem.c96 pfn_t pfn; in lima_gem_fault()
/Linux-v5.4/tools/testing/nvdimm/test/
Diomap.c159 pfn_t __wrap_phys_to_pfn_t(phys_addr_t addr, unsigned long flags) in __wrap_phys_to_pfn_t()
/Linux-v5.4/fs/ext4/
Dfile.c312 pfn_t pfn; in ext4_dax_huge_fault()
/Linux-v5.4/mm/
Dhuge_memory.c768 pmd_t *pmd, pfn_t pfn, pgprot_t prot, bool write, in insert_pfn_pmd()
814 vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, bool write) in vmf_insert_pfn_pmd()
857 pud_t *pud, pfn_t pfn, pgprot_t prot, bool write) in insert_pfn_pud()
892 vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, bool write) in vmf_insert_pfn_pud()
Dmemory.c1582 pfn_t pfn, pgprot_t prot, bool mkwrite) in insert_pfn()
1707 static bool vm_mixed_ok(struct vm_area_struct *vma, pfn_t pfn) in vm_mixed_ok()
1722 unsigned long addr, pfn_t pfn, bool mkwrite) in __vm_insert_mixed()
1768 pfn_t pfn) in vmf_insert_mixed()
1780 unsigned long addr, pfn_t pfn) in vmf_insert_mixed_mkwrite()
/Linux-v5.4/arch/x86/mm/
Dpat.c1034 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
/Linux-v5.4/fs/cramfs/
Dinode.c425 pfn_t pfn = phys_to_pfn_t(address + off, PFN_DEV); in cramfs_physmem_mmap()

12