Home
last modified time | relevance | path

Searched refs:vm_fault (Results 1 – 25 of 149) sorted by relevance

123456

/linux/include/trace/events/
H A Dfs_dax.h11 TP_PROTO(struct inode *inode, struct vm_fault *vmf,
56 TP_PROTO(struct inode *inode, struct vm_fault *vmf, \
64 TP_PROTO(struct inode *inode, struct vm_fault *vmf,
98 TP_PROTO(struct inode *inode, struct vm_fault *vmf, \
106 TP_PROTO(struct inode *inode, struct vm_fault *vmf,
147 TP_PROTO(struct inode *inode, struct vm_fault *vmf, \
154 TP_PROTO(struct inode *inode, struct vm_fault *vmf, int result),
188 TP_PROTO(struct inode *inode, struct vm_fault *vmf, int result), \
198 TP_PROTO(struct inode *inode, struct vm_fault *vmf, void *radix_entry),
/linux/include/linux/
H A Dhuge_mm.h10 vm_fault_t do_huge_pmd_anonymous_page(struct vm_fault *vmf);
14 void huge_pmd_set_accessed(struct vm_fault *vmf);
20 void huge_pud_set_accessed(struct vm_fault *vmf, pud_t orig_pud);
22 static inline void huge_pud_set_accessed(struct vm_fault *vmf, pud_t orig_pud) in huge_pud_set_accessed()
27 vm_fault_t do_huge_pmd_wp_page(struct vm_fault *vmf);
40 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);
444 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf);
590 static inline vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf) in do_huge_pmd_numa_page()
H A Dmm.h560 struct vm_fault { struct
628 vm_fault_t (*fault)(struct vm_fault *vmf);
629 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order);
630 vm_fault_t (*map_pages)(struct vm_fault *vmf,
636 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
639 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
802 static inline void release_fault_lock(struct vm_fault *vmf) in release_fault_lock()
810 static inline void assert_fault_locked(struct vm_fault *vmf) in assert_fault_locked()
843 static inline void release_fault_lock(struct vm_fault *vmf) in release_fault_lock()
848 static inline void assert_fault_locked(struct vm_fault *vmf) in assert_fault_locked()
[all …]
H A Ddax.h239 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, unsigned int order,
241 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
H A Duserfaultfd_k.h85 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
293 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
H A Diomap.h23 struct vm_fault;
312 vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf,
/linux/drivers/dax/
H A Ddevice.c76 static void dax_set_mapping(struct vm_fault *vmf, pfn_t pfn, in dax_set_mapping()
104 struct vm_fault *vmf) in __dev_dax_pte_fault()
137 struct vm_fault *vmf) in __dev_dax_pmd_fault()
181 struct vm_fault *vmf) in __dev_dax_pud_fault()
225 struct vm_fault *vmf) in __dev_dax_pud_fault()
231 static vm_fault_t dev_dax_huge_fault(struct vm_fault *vmf, unsigned int order) in dev_dax_huge_fault()
257 static vm_fault_t dev_dax_fault(struct vm_fault *vmf) in dev_dax_fault()
/linux/include/drm/ttm/
H A Dttm_bo.h425 struct vm_fault *vmf);
426 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
429 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf);
434 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
/linux/tools/testing/vma/
H A Dvma_internal.h300 struct vm_fault {};
319 vm_fault_t (*fault)(struct vm_fault *vmf);
320 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order);
321 vm_fault_t (*map_pages)(struct vm_fault *vmf,
327 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
330 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
290 struct vm_fault {}; global() struct
/linux/mm/
H A Dmemory.c105 static vm_fault_t do_fault(struct vm_fault *vmf);
106 static vm_fault_t do_anonymous_page(struct vm_fault *vmf);
107 static bool vmf_pte_changed(struct vm_fault *vmf);
113 static __always_inline bool vmf_orig_pte_uffd_wp(struct vm_fault *vmf) in vmf_orig_pte_uffd_wp()
3026 static inline int pte_unmap_same(struct vm_fault *vmf) in pte_unmap_same()
3048 struct vm_fault *vmf) in __wp_page_copy_user()
3165 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf, struct folio *folio) in do_page_mkwrite()
3198 static vm_fault_t fault_dirty_shared_page(struct vm_fault *vmf) in fault_dirty_shared_page()
3251 static inline void wp_page_reuse(struct vm_fault *vmf, struct folio *folio) in wp_page_reuse()
3285 static inline vm_fault_t vmf_can_call_fault(const struct vm_fault *vmf) in vmf_can_call_fault()
[all …]
H A Dswap.h77 struct vm_fault *vmf);
139 struct vm_fault *vmf) in swapin_readahead()
H A Dinternal.h369 vm_fault_t __vmf_anon_prepare(struct vm_fault *vmf);
370 static inline vm_fault_t vmf_anon_prepare(struct vm_fault *vmf) in vmf_anon_prepare()
379 vm_fault_t do_swap_page(struct vm_fault *vmf);
1005 static inline struct file *maybe_unlock_mmap_for_io(struct vm_fault *vmf, in maybe_unlock_mmap_for_io()
1261 int numa_migrate_check(struct folio *folio, struct vm_fault *vmf,
/linux/arch/arc/include/asm/
H A Dpgtable-bits-arcv2.h103 struct vm_fault;
104 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma,
/linux/fs/ocfs2/
H A Dmmap.c31 static vm_fault_t ocfs2_fault(struct vm_fault *vmf) in ocfs2_fault()
113 static vm_fault_t ocfs2_page_mkwrite(struct vm_fault *vmf) in ocfs2_page_mkwrite()
/linux/fs/
H A Ddax.c830 static int copy_cow_page_dax(struct vm_fault *vmf, const struct iomap_iter *iter) in copy_cow_page_dax()
869 static void *dax_insert_entry(struct xa_state *xas, struct vm_fault *vmf, in dax_insert_entry()
1186 static vm_fault_t dax_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_load_hole()
1202 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole()
1254 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole()
1618 static vm_fault_t dax_fault_cow_page(struct vm_fault *vmf, in dax_fault_cow_page()
1657 static vm_fault_t dax_fault_iter(struct vm_fault *vmf, in dax_fault_iter()
1712 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault()
1789 static bool dax_fault_check_fallback(struct vm_fault *vmf, struct xa_state *xas, in dax_fault_check_fallback()
1822 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
[all …]
/linux/fs/bcachefs/
H A Dfs-io-pagecache.h167 vm_fault_t bch2_page_fault(struct vm_fault *);
168 vm_fault_t bch2_page_mkwrite(struct vm_fault *);
/linux/drivers/video/fbdev/core/
H A Dfb_defio.c129 static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf) in fb_deferred_io_fault()
230 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite()
241 static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf) in fb_deferred_io_mkwrite()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v12_0.c162 adev->gmc.vm_fault.num_types = 1; in gmc_v12_0_set_irq_funcs()
163 adev->gmc.vm_fault.funcs = &gmc_v12_0_irq_funcs; in gmc_v12_0_set_irq_funcs()
643 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v12_0_late_init()
774 &adev->gmc.vm_fault); in gmc_v12_0_sw_init()
781 &adev->gmc.vm_fault); in gmc_v12_0_sw_init()
940 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v12_0_hw_fini()
H A Dgmc_v11_0.c169 adev->gmc.vm_fault.num_types = 1; in gmc_v11_0_set_irq_funcs()
170 adev->gmc.vm_fault.funcs = &gmc_v11_0_irq_funcs; in gmc_v11_0_set_irq_funcs()
641 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v11_0_late_init()
778 &adev->gmc.vm_fault); in gmc_v11_0_sw_init()
785 &adev->gmc.vm_fault); in gmc_v11_0_sw_init()
956 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v11_0_hw_fini()
H A Dgmc_v10_0.c200 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs()
201 adev->gmc.vm_fault.funcs = &gmc_v10_0_irq_funcs; in gmc_v10_0_set_irq_funcs()
670 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_late_init()
849 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
856 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
1050 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_hw_fini()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dnv50.c121 static const struct nvkm_enum vm_fault[] = { variable
174 re = nvkm_enum_find(vm_fault , st1); in nv50_fb_intr()
/linux/arch/hexagon/mm/
H A DMakefile6 obj-y := init.o uaccess.o vm_fault.o cache.o
/linux/arch/hexagon/include/asm/
H A Dcacheflush.h61 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range()
/linux/arch/csky/abiv1/
H A Dcacheflush.c44 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range()
/linux/arch/csky/abiv2/
H A Dcacheflush.c10 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range()

123456