Home
last modified time | relevance | path

Searched refs:vm_fault_t (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.6.21/include/linux/
Dmm_types.h1124 typedef __bitwise unsigned int vm_fault_t; typedef
1152 VM_FAULT_OOM = (__force vm_fault_t)0x000001,
1153 VM_FAULT_SIGBUS = (__force vm_fault_t)0x000002,
1154 VM_FAULT_MAJOR = (__force vm_fault_t)0x000004,
1155 VM_FAULT_HWPOISON = (__force vm_fault_t)0x000010,
1156 VM_FAULT_HWPOISON_LARGE = (__force vm_fault_t)0x000020,
1157 VM_FAULT_SIGSEGV = (__force vm_fault_t)0x000040,
1158 VM_FAULT_NOPAGE = (__force vm_fault_t)0x000100,
1159 VM_FAULT_LOCKED = (__force vm_fault_t)0x000200,
1160 VM_FAULT_RETRY = (__force vm_fault_t)0x000400,
[all …]
Dhuge_mm.h10 vm_fault_t do_huge_pmd_anonymous_page(struct vm_fault *vmf);
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);
226 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf);
349 static inline vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf) in do_huge_pmd_numa_page()
Dmm.h576 vm_fault_t (*fault)(struct vm_fault *vmf);
577 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order);
578 vm_fault_t (*map_pages)(struct vm_fault *vmf,
584 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
587 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
1335 vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page);
1339 vm_fault_t finish_fault(struct vm_fault *vmf);
1340 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
2371 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma,
2382 static inline vm_fault_t handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault()
[all …]
Duserfaultfd_k.h39 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
204 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
/linux-6.6.21/fs/ocfs2/
Dmmap.c31 static vm_fault_t ocfs2_fault(struct vm_fault *vmf) in ocfs2_fault()
35 vm_fault_t ret; in ocfs2_fault()
46 static vm_fault_t __ocfs2_page_mkwrite(struct file *file, in __ocfs2_page_mkwrite()
50 vm_fault_t ret = VM_FAULT_NOPAGE; in __ocfs2_page_mkwrite()
113 static vm_fault_t ocfs2_page_mkwrite(struct vm_fault *vmf) in ocfs2_page_mkwrite()
120 vm_fault_t ret; in ocfs2_page_mkwrite()
/linux-6.6.21/arch/s390/mm/
Dfault.c51 #define VM_FAULT_BADCONTEXT ((__force vm_fault_t)0x80000000)
52 #define VM_FAULT_BADMAP ((__force vm_fault_t)0x40000000)
53 #define VM_FAULT_BADACCESS ((__force vm_fault_t)0x20000000)
54 #define VM_FAULT_SIGNAL ((__force vm_fault_t)0x10000000)
55 #define VM_FAULT_PFAULT ((__force vm_fault_t)0x8000000)
247 static noinline void do_no_context(struct pt_regs *regs, vm_fault_t fault) in do_no_context()
298 static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault) in do_fault_error()
357 static inline vm_fault_t do_exception(struct pt_regs *regs, int access) in do_exception()
366 vm_fault_t fault; in do_exception()
538 vm_fault_t fault; in do_protection_exception()
[all …]
/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_bo_vm.c41 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle()
116 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, in ttm_bo_vm_reserve()
181 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, in ttm_bo_vm_fault_reserved()
195 vm_fault_t ret = VM_FAULT_NOPAGE; in ttm_bo_vm_fault_reserved()
291 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot) in ttm_bo_vm_dummy_page()
296 vm_fault_t ret = VM_FAULT_NOPAGE; in ttm_bo_vm_dummy_page()
321 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf) in ttm_bo_vm_fault()
327 vm_fault_t ret; in ttm_bo_vm_fault()
/linux-6.6.21/mm/
Dmemory.c106 static vm_fault_t do_fault(struct vm_fault *vmf);
107 static vm_fault_t do_anonymous_page(struct vm_fault *vmf);
2108 static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr, in insert_pfn()
2195 vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_prot()
2243 vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn()
2264 static vm_fault_t __vm_insert_mixed(struct vm_area_struct *vma, in __vm_insert_mixed()
2310 vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_mixed()
2322 vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma, in vmf_insert_mixed_mkwrite()
2923 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf, struct folio *folio) in do_page_mkwrite()
2925 vm_fault_t ret; in do_page_mkwrite()
[all …]
Dsecretmem.c50 static vm_fault_t secretmem_fault(struct vm_fault *vmf) in secretmem_fault()
59 vm_fault_t ret; in secretmem_fault()
/linux-6.6.21/drivers/video/fbdev/core/
Dfb_defio.c94 static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf) in fb_deferred_io_fault()
146 static vm_fault_t fb_deferred_io_track_page(struct fb_info *info, unsigned long offset, in fb_deferred_io_track_page()
151 vm_fault_t ret; in fb_deferred_io_track_page()
197 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite()
208 static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf) in fb_deferred_io_mkwrite()
/linux-6.6.21/drivers/misc/ocxl/
Dcontext.c98 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq()
111 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio()
116 vm_fault_t ret; in map_pp_mmio()
139 static vm_fault_t ocxl_mmap_fault(struct vm_fault *vmf) in ocxl_mmap_fault()
144 vm_fault_t ret; in ocxl_mmap_fault()
/linux-6.6.21/drivers/dax/
Ddevice.c103 static vm_fault_t __dev_dax_pte_fault(struct dev_dax *dev_dax, in __dev_dax_pte_fault()
136 static vm_fault_t __dev_dax_pmd_fault(struct dev_dax *dev_dax, in __dev_dax_pmd_fault()
180 static vm_fault_t __dev_dax_pud_fault(struct dev_dax *dev_dax, in __dev_dax_pud_fault()
224 static vm_fault_t __dev_dax_pud_fault(struct dev_dax *dev_dax, 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()
234 vm_fault_t rc = VM_FAULT_SIGBUS; in dev_dax_huge_fault()
257 static vm_fault_t dev_dax_fault(struct vm_fault *vmf) in dev_dax_fault()
/linux-6.6.21/include/drm/ttm/
Dttm_bo.h385 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo,
387 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
390 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf);
395 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
/linux-6.6.21/fs/
Ddax.c1186 static vm_fault_t dax_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_load_hole()
1192 vm_fault_t ret; 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()
1582 static vm_fault_t dax_fault_return(int error) in dax_fault_return()
1595 static vm_fault_t dax_fault_synchronous_pfnp(pfn_t *pfnp, pfn_t pfn) in dax_fault_synchronous_pfnp()
1603 static vm_fault_t dax_fault_cow_page(struct vm_fault *vmf, in dax_fault_cow_page()
1606 vm_fault_t ret; in dax_fault_cow_page()
1642 static vm_fault_t dax_fault_iter(struct vm_fault *vmf, 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()
[all …]
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c375 vm_fault_t vmw_bo_vm_mkwrite(struct vm_fault *vmf) in vmw_bo_vm_mkwrite()
380 vm_fault_t ret; in vmw_bo_vm_mkwrite()
416 vm_fault_t vmw_bo_vm_fault(struct vm_fault *vmf) in vmw_bo_vm_fault()
424 vm_fault_t ret; in vmw_bo_vm_fault()
/linux-6.6.21/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.6.21/arch/x86/entry/vdso/
Dvma.c62 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
128 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
165 vm_fault_t err; in vvar_fault()
/linux-6.6.21/arch/powerpc/include/asm/
Dcopro.h17 unsigned long dsisr, vm_fault_t *flt);
/linux-6.6.21/arch/csky/mm/
Dfault.c73 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error()
195 vm_fault_t fault; in do_page_fault()
/linux-6.6.21/fs/xfs/
Dxfs_file.c1324 static inline vm_fault_t
1337 static inline vm_fault_t
1359 static vm_fault_t
1367 vm_fault_t ret; in __xfs_filemap_fault()
1408 static vm_fault_t
1418 static vm_fault_t
1431 static vm_fault_t
1443 static vm_fault_t
/linux-6.6.21/arch/powerpc/mm/
Dfault.c133 vm_fault_t fault) in do_sigbus()
161 vm_fault_t fault) in mm_fault_error()
414 vm_fault_t fault, major = 0; in ___do_page_fault()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dgem.c109 static vm_fault_t psb_gem_fault(struct vm_fault *vmf);
254 static vm_fault_t psb_gem_fault(struct vm_fault *vmf) in psb_gem_fault()
260 vm_fault_t ret; in psb_gem_fault()
/linux-6.6.21/arch/s390/kernel/
Dvdso.c72 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
77 vm_fault_t err; in vvar_fault()
/linux-6.6.21/arch/arm/mm/
Dfault.c222 #define VM_FAULT_BADMAP ((__force vm_fault_t)0x010000)
223 #define VM_FAULT_BADACCESS ((__force vm_fault_t)0x020000)
244 vm_fault_t fault; in do_page_fault()
/linux-6.6.21/fs/udf/
Dfile.c37 static vm_fault_t udf_page_mkwrite(struct vm_fault *vmf) in udf_page_mkwrite()
45 vm_fault_t ret = VM_FAULT_LOCKED; in udf_page_mkwrite()

12345678