Home
last modified time | relevance | path

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

123456

/linux-6.1.9/include/linux/
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);
42 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()
266 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf);
[all …]
Dmm.h481 struct vm_fault { struct
556 vm_fault_t (*fault)(struct vm_fault *vmf);
557 vm_fault_t (*huge_fault)(struct vm_fault *vmf,
559 vm_fault_t (*map_pages)(struct vm_fault *vmf,
565 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
568 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
1018 vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page);
1019 void do_set_pte(struct vm_fault *vmf, struct page *page, unsigned long addr);
1021 vm_fault_t finish_fault(struct vm_fault *vmf);
1022 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
[all …]
Duserfaultfd_k.h41 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
186 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
Diomap.h22 struct vm_fault;
240 vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf,
Ddax.h242 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size,
244 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
/linux-6.1.9/include/trace/events/
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-6.1.9/mm/
Dswap.h56 struct vm_fault *vmf);
58 struct vm_fault *vmf);
85 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead()
91 struct vm_fault *vmf) in swapin_readahead()
Dmemory.c106 static vm_fault_t do_fault(struct vm_fault *vmf);
2834 static inline int pte_unmap_same(struct vm_fault *vmf) in pte_unmap_same()
2851 struct vm_fault *vmf) in __wp_page_copy_user()
2965 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf) in do_page_mkwrite()
2999 static vm_fault_t fault_dirty_shared_page(struct vm_fault *vmf) in fault_dirty_shared_page()
3052 static inline void wp_page_reuse(struct vm_fault *vmf) in wp_page_reuse()
3096 static vm_fault_t wp_page_copy(struct vm_fault *vmf) in wp_page_copy()
3271 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf) in finish_mkwrite_fault()
3293 static vm_fault_t wp_pfn_shared(struct vm_fault *vmf) in wp_pfn_shared()
3311 static vm_fault_t wp_page_shared(struct vm_fault *vmf) in wp_page_shared()
[all …]
Dswap_state.c611 struct vm_fault *vmf) in swap_cluster_readahead()
712 static void swap_ra_info(struct vm_fault *vmf, in swap_ra_info()
789 struct vm_fault *vmf) in swap_vma_readahead()
851 struct vm_fault *vmf) in swapin_readahead()
/linux-6.1.9/include/drm/ttm/
Dttm_bo_api.h453 struct vm_fault *vmf);
455 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
459 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf);
469 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
/linux-6.1.9/drivers/dax/
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, in dev_dax_huge_fault()
263 static vm_fault_t dev_dax_fault(struct vm_fault *vmf) in dev_dax_fault()
/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_bo_vm.c47 struct vm_fault *vmf) in ttm_bo_vm_fault_idle()
122 struct vm_fault *vmf) in ttm_bo_vm_reserve()
186 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, in ttm_bo_vm_fault_reserved()
289 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot) in ttm_bo_vm_dummy_page()
319 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf) in ttm_bo_vm_fault()
/linux-6.1.9/fs/
Ddax.c811 static int copy_cow_page_dax(struct vm_fault *vmf, const struct iomap_iter *iter) in copy_cow_page_dax()
856 static void *dax_insert_entry(struct xa_state *xas, struct vm_fault *vmf, in dax_insert_entry()
1149 static vm_fault_t dax_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_load_hole()
1165 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole()
1217 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole()
1491 static vm_fault_t dax_fault_cow_page(struct vm_fault *vmf, in dax_fault_cow_page()
1530 static vm_fault_t dax_fault_iter(struct vm_fault *vmf, 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()
1663 static bool dax_fault_check_fallback(struct vm_fault *vmf, struct xa_state *xas, in dax_fault_check_fallback()
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/fs/ocfs2/
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-6.1.9/fs/xfs/
Dxfs_file.c1266 struct vm_fault *vmf, in xfs_dax_fault()
1279 struct vm_fault *vmf, in xfs_dax_fault()
1301 struct vm_fault *vmf, in __xfs_filemap_fault()
1342 struct vm_fault *vmf) in xfs_is_write_fault()
1350 struct vm_fault *vmf) in xfs_filemap_fault()
1360 struct vm_fault *vmf, in xfs_filemap_huge_fault()
1373 struct vm_fault *vmf) in xfs_filemap_page_mkwrite()
1385 struct vm_fault *vmf) in xfs_filemap_pfn_mkwrite()
1393 struct vm_fault *vmf, in xfs_filemap_map_pages()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_vm.c110 static vm_fault_t drm_vm_fault(struct vm_fault *vmf) in drm_vm_fault()
183 static vm_fault_t drm_vm_fault(struct vm_fault *vmf) in drm_vm_fault()
199 static vm_fault_t drm_vm_shm_fault(struct vm_fault *vmf) in drm_vm_shm_fault()
299 static vm_fault_t drm_vm_dma_fault(struct vm_fault *vmf) in drm_vm_dma_fault()
334 static vm_fault_t drm_vm_sg_fault(struct vm_fault *vmf) in drm_vm_sg_fault()
/linux-6.1.9/drivers/video/fbdev/core/
Dfb_defio.c94 static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf) in fb_deferred_io_fault()
205 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite()
216 static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf) in fb_deferred_io_mkwrite()
/linux-6.1.9/arch/hexagon/mm/
DMakefile6 obj-y := init.o ioremap.o uaccess.o vm_fault.o cache.o
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgmc_v11_0.c140 adev->gmc.vm_fault.num_types = 1; in gmc_v11_0_set_irq_funcs()
141 adev->gmc.vm_fault.funcs = &gmc_v11_0_irq_funcs; in gmc_v11_0_set_irq_funcs()
642 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v11_0_late_init()
768 &adev->gmc.vm_fault); in gmc_v11_0_sw_init()
775 &adev->gmc.vm_fault); in gmc_v11_0_sw_init()
935 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v11_0_hw_fini()
Dgmc_v6_0.c792 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v6_0_late_init()
828 r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 146, &adev->gmc.vm_fault); in gmc_v6_0_sw_init()
832 r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 147, &adev->gmc.vm_fault); in gmc_v6_0_sw_init()
932 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v6_0_hw_fini()
1148 adev->gmc.vm_fault.num_types = 1; in gmc_v6_0_set_irq_funcs()
1149 adev->gmc.vm_fault.funcs = &gmc_v6_0_irq_funcs; in gmc_v6_0_set_irq_funcs()
Dgmc_v10_0.c184 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs()
185 adev->gmc.vm_fault.funcs = &gmc_v10_0_irq_funcs; in gmc_v10_0_set_irq_funcs()
777 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_late_init()
956 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
963 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
1146 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_hw_fini()
Dgmc_v7_0.c962 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v7_0_late_init()
999 …_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, VISLANDS30_IV_SRCID_GFX_PAGE_INV_FAULT, &adev->gmc.vm_fault); in gmc_v7_0_sw_init()
1003 …_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, VISLANDS30_IV_SRCID_GFX_MEM_PROT_FAULT, &adev->gmc.vm_fault); in gmc_v7_0_sw_init()
1121 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v7_0_hw_fini()
1391 adev->gmc.vm_fault.num_types = 1; in gmc_v7_0_set_irq_funcs()
1392 adev->gmc.vm_fault.funcs = &gmc_v7_0_irq_funcs; in gmc_v7_0_set_irq_funcs()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv50.c121 static const struct nvkm_enum vm_fault[] = { variable
175 re = nvkm_enum_find(vm_fault , st1); in nv50_fb_intr()
/linux-6.1.9/arch/powerpc/kernel/
Dvdso.c85 struct vm_area_struct *vma, struct vm_fault *vmf);
157 struct vm_area_struct *vma, struct vm_fault *vmf) in vvar_fault()
/linux-6.1.9/arch/x86/entry/vdso/
Dvma.c60 struct vm_area_struct *vma, struct vm_fault *vmf) in vdso_fault()
151 struct vm_area_struct *vma, struct vm_fault *vmf) in vvar_fault()

123456