Home
last modified time | relevance | path

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

123456

/Linux-v5.10/include/linux/
Dhuge_mm.h10 extern vm_fault_t do_huge_pmd_anonymous_page(struct vm_fault *vmf);
14 extern void huge_pmd_set_accessed(struct vm_fault *vmf, pmd_t orig_pmd);
20 extern 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 extern vm_fault_t do_huge_pmd_wp_page(struct vm_fault *vmf, pmd_t orig_pmd);
47 vm_fault_t vmf_insert_pfn_pmd_prot(struct vm_fault *vmf, pfn_t pfn,
61 static inline vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pmd()
66 vm_fault_t vmf_insert_pfn_pud_prot(struct vm_fault *vmf, pfn_t pfn,
80 static inline vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pud()
297 extern vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf, pmd_t orig_pmd);
[all …]
Duserfaultfd_k.h35 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
104 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
Dmm.h508 struct vm_fault { struct
562 vm_fault_t (*fault)(struct vm_fault *vmf);
563 vm_fault_t (*huge_fault)(struct vm_fault *vmf,
565 void (*map_pages)(struct vm_fault *vmf,
571 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
574 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
975 vm_fault_t alloc_set_pte(struct vm_fault *vmf, struct page *page);
976 vm_fault_t finish_fault(struct vm_fault *vmf);
977 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
2623 extern vm_fault_t filemap_fault(struct vm_fault *vmf);
[all …]
Dswap.h437 struct vm_fault *vmf);
439 struct vm_fault *vmf);
550 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead()
556 struct vm_fault *vmf) in swapin_readahead()
Diomap.h22 struct vm_fault;
178 vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf,
Ddax.h233 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size,
235 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
Dmemremap.h89 vm_fault_t (*migrate_to_ram)(struct vm_fault *vmf);
Dmm_types.h675 struct vm_fault;
766 struct vm_fault *vmf);
/Linux-v5.10/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-v5.10/include/drm/ttm/
Dttm_bo_api.h619 struct vm_fault *vmf);
621 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
626 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf);
/Linux-v5.10/drivers/dax/
Ddevice.c77 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pte_fault()
107 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pmd_fault()
148 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pud_fault()
189 struct vm_fault *vmf, pfn_t *pfn) in __dev_dax_pud_fault()
195 static vm_fault_t dev_dax_huge_fault(struct vm_fault *vmf, in dev_dax_huge_fault()
254 static vm_fault_t dev_dax_fault(struct vm_fault *vmf) in dev_dax_fault()
/Linux-v5.10/drivers/gpu/drm/ttm/
Dttm_bo_vm.c46 struct vm_fault *vmf) in ttm_bo_vm_fault_idle()
129 struct vm_fault *vmf) in ttm_bo_vm_reserve()
178 static vm_fault_t ttm_bo_vm_insert_huge(struct vm_fault *vmf, in ttm_bo_vm_insert_huge()
237 static vm_fault_t ttm_bo_vm_insert_huge(struct vm_fault *vmf, in ttm_bo_vm_insert_huge()
266 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, in ttm_bo_vm_fault_reserved()
405 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf) in ttm_bo_vm_fault()
/Linux-v5.10/drivers/gpu/drm/omapdrm/
Domap_gem.h27 struct vm_fault;
72 vm_fault_t omap_gem_fault(struct vm_fault *vmf);
/Linux-v5.10/fs/ocfs2/
Dmmap.c33 static vm_fault_t ocfs2_fault(struct vm_fault *vmf) in ocfs2_fault()
115 static vm_fault_t ocfs2_page_mkwrite(struct vm_fault *vmf) in ocfs2_page_mkwrite()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_vm.c115 static vm_fault_t drm_vm_fault(struct vm_fault *vmf) in drm_vm_fault()
188 static vm_fault_t drm_vm_fault(struct vm_fault *vmf) in drm_vm_fault()
204 static vm_fault_t drm_vm_shm_fault(struct vm_fault *vmf) in drm_vm_shm_fault()
304 static vm_fault_t drm_vm_dma_fault(struct vm_fault *vmf) in drm_vm_dma_fault()
339 static vm_fault_t drm_vm_sg_fault(struct vm_fault *vmf) in drm_vm_sg_fault()
/Linux-v5.10/arch/hexagon/mm/
DMakefile6 obj-y := init.o ioremap.o uaccess.o vm_fault.o cache.o
/Linux-v5.10/mm/
Dmemory.c2577 struct vm_fault *vmf) in cow_user_page()
2691 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf) in do_page_mkwrite()
2725 static vm_fault_t fault_dirty_shared_page(struct vm_fault *vmf) in fault_dirty_shared_page()
2778 static inline void wp_page_reuse(struct vm_fault *vmf) in wp_page_reuse()
2817 static vm_fault_t wp_page_copy(struct vm_fault *vmf) in wp_page_copy()
2980 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf) in finish_mkwrite_fault()
3002 static vm_fault_t wp_pfn_shared(struct vm_fault *vmf) in wp_pfn_shared()
3020 static vm_fault_t wp_page_shared(struct vm_fault *vmf) in wp_page_shared()
3072 static vm_fault_t do_wp_page(struct vm_fault *vmf) in do_wp_page()
3241 vm_fault_t do_swap_page(struct vm_fault *vmf) in do_swap_page()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Dgmc_v6_0.c797 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v6_0_late_init()
833 r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 146, &adev->gmc.vm_fault); in gmc_v6_0_sw_init()
837 r = amdgpu_irq_add_id(adev, AMDGPU_IRQ_CLIENTID_LEGACY, 147, &adev->gmc.vm_fault); in gmc_v6_0_sw_init()
935 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v6_0_hw_fini()
1151 adev->gmc.vm_fault.num_types = 1; in gmc_v6_0_set_irq_funcs()
1152 adev->gmc.vm_fault.funcs = &gmc_v6_0_irq_funcs; in gmc_v6_0_set_irq_funcs()
Dgmc_v10_0.c150 adev->gmc.vm_fault.num_types = 1; in gmc_v10_0_set_irq_funcs()
151 adev->gmc.vm_fault.funcs = &gmc_v10_0_irq_funcs; in gmc_v10_0_set_irq_funcs()
686 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_late_init()
826 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
833 &adev->gmc.vm_fault); in gmc_v10_0_sw_init()
1028 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v10_0_hw_fini()
Dgmc_v9_0.c645 adev->gmc.vm_fault.num_types = 1; in gmc_v9_0_set_irq_funcs()
646 adev->gmc.vm_fault.funcs = &gmc_v9_0_irq_funcs; in gmc_v9_0_set_irq_funcs()
1229 return amdgpu_irq_get(adev, &adev->gmc.vm_fault, 0); in gmc_v9_0_late_init()
1426 &adev->gmc.vm_fault); in gmc_v9_0_sw_init()
1432 &adev->gmc.vm_fault); in gmc_v9_0_sw_init()
1438 &adev->gmc.vm_fault); in gmc_v9_0_sw_init()
1687 amdgpu_irq_put(adev, &adev->gmc.vm_fault, 0); in gmc_v9_0_hw_fini()
/Linux-v5.10/drivers/video/fbdev/core/
Dfb_defio.c40 static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf) in fb_deferred_io_fault()
93 static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf) in fb_deferred_io_mkwrite()
/Linux-v5.10/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-v5.10/fs/
Ddax.c733 struct address_space *mapping, struct vm_fault *vmf, in dax_insert_entry()
1042 struct vm_fault *vmf) in dax_load_hole()
1247 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault()
1417 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole()
1469 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
1631 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault()
1651 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size, in dax_iomap_fault()
1675 dax_insert_pfn_mkwrite(struct vm_fault *vmf, pfn_t pfn, unsigned int order) in dax_insert_pfn_mkwrite()
1719 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf, in dax_finish_sync_fault()
/Linux-v5.10/fs/xfs/
Dxfs_file.c1232 struct vm_fault *vmf, in __xfs_filemap_fault()
1273 struct vm_fault *vmf) in xfs_is_write_fault()
1281 struct vm_fault *vmf) in xfs_filemap_fault()
1291 struct vm_fault *vmf, in xfs_filemap_huge_fault()
1304 struct vm_fault *vmf) in xfs_filemap_page_mkwrite()
1316 struct vm_fault *vmf) in xfs_filemap_pfn_mkwrite()
1324 struct vm_fault *vmf, in xfs_filemap_map_pages()
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c393 vm_fault_t vmw_bo_vm_mkwrite(struct vm_fault *vmf) in vmw_bo_vm_mkwrite()
435 vm_fault_t vmw_bo_vm_fault(struct vm_fault *vmf) in vmw_bo_vm_fault()
491 vm_fault_t vmw_bo_vm_huge_fault(struct vm_fault *vmf, in vmw_bo_vm_huge_fault()

123456