Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.h29 enum dax_access_mode, void **, pfn_t *);
229 enum dax_access_mode mode, void **kaddr, pfn_t *pfn);
243 pfn_t *pfnp, int *errp, const struct iomap_ops *ops);
245 enum page_entry_size pe_size, pfn_t pfn);
Dhuge_mm.h42 vm_fault_t vmf_insert_pfn_pmd_prot(struct vm_fault *vmf, pfn_t pfn,
56 static inline vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pmd()
61 vm_fault_t vmf_insert_pfn_pud_prot(struct vm_fault *vmf, pfn_t pfn,
75 static inline vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pud()
Dpfn.h15 } pfn_t; typedef
Dpgtable.h1193 pfn_t pfn) in track_pfn_insert()
1227 pfn_t pfn);
Ddevice-mapper.h151 pfn_t *pfn);
Dmm.h2926 pfn_t pfn);
2928 pfn_t pfn, pgprot_t pgprot);
2930 unsigned long addr, pfn_t pfn);
/linux-6.1.9/fs/
Ddax.c88 static void *dax_make_entry(pfn_t pfn, unsigned long flags) in dax_make_entry()
857 const struct iomap_iter *iter, void *entry, pfn_t pfn, in dax_insert_entry()
1053 size_t size, void **kaddr, pfn_t *pfnp) in dax_iomap_direct_access()
1154 pfn_t pfn = pfn_to_pfn_t(my_zero_pfn(vaddr)); in dax_load_hole()
1176 pfn_t pfn; in dax_pmd_load_hole()
1483 static vm_fault_t dax_fault_synchronous_pfnp(pfn_t *pfnp, pfn_t pfn) in dax_fault_synchronous_pfnp()
1531 const struct iomap_iter *iter, pfn_t *pfnp, in dax_fault_iter()
1541 pfn_t pfn; in dax_fault_iter()
1586 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault()
1696 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
[all …]
/linux-6.1.9/drivers/nvdimm/
Dpmem.h34 pfn_t *pfn);
Dpmem.c266 pfn_t *pfn) in __pmem_direct_access()
328 void **kaddr, pfn_t *pfn) in pmem_dax_direct_access()
/linux-6.1.9/drivers/dax/
Ddevice.c76 static void dax_set_mapping(struct vm_fault *vmf, pfn_t pfn, in dax_set_mapping()
108 pfn_t pfn; in __dev_dax_pte_fault()
143 pfn_t pfn; in __dev_dax_pmd_fault()
187 pfn_t pfn; in __dev_dax_pud_fault()
Dsuper.c150 enum dax_access_mode mode, void **kaddr, pfn_t *pfn) in dax_direct_access()
/linux-6.1.9/tools/testing/nvdimm/
Dpmem-dax.c13 pfn_t *pfn) in __pmem_direct_access()
/linux-6.1.9/drivers/md/
Ddm-target.c147 pfn_t *pfn) in io_err_dax_direct_access()
Ddm-linear.c169 pfn_t *pfn) in linear_dax_direct_access()
Ddm-stripe.c319 pfn_t *pfn) in stripe_dax_direct_access()
/linux-6.1.9/include/trace/events/
Dfs_dax.h107 long length, pfn_t pfn, void *radix_entry),
148 long length, pfn_t pfn, void *radix_entry), \
/linux-6.1.9/drivers/s390/block/
Ddcssblk.c36 pfn_t *pfn);
918 long nr_pages, void **kaddr, pfn_t *pfn) in __dcssblk_direct_access()
936 pfn_t *pfn) in dcssblk_dax_direct_access()
/linux-6.1.9/fs/xfs/
Dxfs_file.c1269 pfn_t *pfn) in xfs_dax_fault()
1282 pfn_t *pfn) in xfs_dax_fault()
1317 pfn_t pfn; in __xfs_filemap_fault()
/linux-6.1.9/tools/testing/nvdimm/test/
Diomap.c138 pfn_t __wrap_phys_to_pfn_t(phys_addr_t addr, unsigned long flags) in __wrap_phys_to_pfn_t()
/linux-6.1.9/mm/
Dhuge_memory.c841 pmd_t *pmd, pfn_t pfn, pgprot_t prot, bool write, in insert_pfn_pmd()
900 vm_fault_t vmf_insert_pfn_pmd_prot(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pmd_prot()
943 pud_t *pud, pfn_t pfn, pgprot_t prot, bool write) in insert_pfn_pud()
991 vm_fault_t vmf_insert_pfn_pud_prot(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pud_prot()
Dmemory.c2139 pfn_t pfn, pgprot_t prot, bool mkwrite) in insert_pfn()
2267 static bool vm_mixed_ok(struct vm_area_struct *vma, pfn_t pfn) in vm_mixed_ok()
2282 unsigned long addr, pfn_t pfn, pgprot_t pgprot, in __vm_insert_mixed()
2354 pfn_t pfn, pgprot_t pgprot) in vmf_insert_mixed_prot()
2361 pfn_t pfn) in vmf_insert_mixed()
2373 unsigned long addr, pfn_t pfn) in vmf_insert_mixed_mkwrite()
/linux-6.1.9/fs/ext4/
Dfile.c728 pfn_t pfn; in ext4_dax_huge_fault()
/linux-6.1.9/arch/x86/mm/pat/
Dmemtype.c1077 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
/linux-6.1.9/fs/cramfs/
Dinode.c415 pfn_t pfn = phys_to_pfn_t(address + off, PFN_DEV); in cramfs_physmem_mmap()

12