Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 *);
231 enum dax_access_mode mode, void **kaddr, pfn_t *pfn);
245 pfn_t *pfnp, int *errp, const struct iomap_ops *ops);
247 unsigned int order, pfn_t pfn);
Dpfn.h15 } pfn_t; typedef
Dhuge_mm.h40 vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, bool write);
41 vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, bool write);
Ddevice-mapper.h152 pfn_t *pfn);
Dpgtable.h1263 pfn_t pfn) in track_pfn_insert()
1299 pfn_t pfn);
/linux-6.6.21/fs/
Ddax.c74 static void *dax_make_entry(pfn_t pfn, unsigned long flags) in dax_make_entry()
870 const struct iomap_iter *iter, void *entry, pfn_t pfn, in dax_insert_entry()
1067 size_t size, void **kaddr, pfn_t *pfnp) in dax_iomap_direct_access()
1191 pfn_t pfn = pfn_to_pfn_t(my_zero_pfn(vaddr)); in dax_load_hole()
1213 pfn_t pfn; in dax_pmd_load_hole()
1595 static vm_fault_t dax_fault_synchronous_pfnp(pfn_t *pfnp, pfn_t pfn) in dax_fault_synchronous_pfnp()
1643 const struct iomap_iter *iter, pfn_t *pfnp, in dax_fault_iter()
1653 pfn_t pfn; in dax_fault_iter()
1697 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault()
1807 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
[all …]
/linux-6.6.21/drivers/nvdimm/
Dpmem.h34 pfn_t *pfn);
Dpmem.c245 pfn_t *pfn) in __pmem_direct_access()
306 void **kaddr, pfn_t *pfn) in pmem_dax_direct_access()
/linux-6.6.21/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.6.21/tools/testing/nvdimm/
Dpmem-dax.c13 pfn_t *pfn) in __pmem_direct_access()
/linux-6.6.21/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.6.21/drivers/md/
Ddm-target.c161 pfn_t *pfn) in io_err_dax_direct_access()
Ddm-linear.c170 pfn_t *pfn) in linear_dax_direct_access()
Ddm-stripe.c318 pfn_t *pfn) in stripe_dax_direct_access()
/linux-6.6.21/drivers/s390/block/
Ddcssblk.c36 pfn_t *pfn);
913 long nr_pages, void **kaddr, pfn_t *pfn) in __dcssblk_direct_access()
931 pfn_t *pfn) in dcssblk_dax_direct_access()
/linux-6.6.21/tools/testing/nvdimm/test/
Dnfit_test.h215 pfn_t __wrap_phys_to_pfn_t(phys_addr_t addr, unsigned long flags);
Diomap.c138 pfn_t __wrap_phys_to_pfn_t(phys_addr_t addr, unsigned long flags) in __wrap_phys_to_pfn_t()
/linux-6.6.21/fs/xfs/
Dxfs_file.c1329 pfn_t *pfn) in xfs_dax_fault()
1342 pfn_t *pfn) in xfs_dax_fault()
1381 pfn_t pfn; in __xfs_filemap_fault()
/linux-6.6.21/mm/
Dhuge_memory.c836 pmd_t *pmd, pfn_t pfn, pgprot_t prot, bool write, in insert_pfn_pmd()
892 vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, bool write) in vmf_insert_pfn_pmd()
935 pud_t *pud, pfn_t pfn, bool write) in insert_pfn_pud()
981 vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, bool write) in vmf_insert_pfn_pud()
Dmemory.c2109 pfn_t pfn, pgprot_t prot, bool mkwrite) in insert_pfn()
2250 static bool vm_mixed_ok(struct vm_area_struct *vma, pfn_t pfn) in vm_mixed_ok()
2265 unsigned long addr, pfn_t pfn, bool mkwrite) in __vm_insert_mixed()
2311 pfn_t pfn) in vmf_insert_mixed()
2323 unsigned long addr, pfn_t pfn) in vmf_insert_mixed_mkwrite()
/linux-6.6.21/arch/x86/mm/pat/
Dmemtype.c1029 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
/linux-6.6.21/fs/ext4/
Dfile.c725 pfn_t pfn; in ext4_dax_huge_fault()
/linux-6.6.21/fs/cramfs/
Dinode.c415 pfn_t pfn = phys_to_pfn_t(address + off, PFN_DEV); in cramfs_physmem_mmap()

12