/linux-6.6.21/include/linux/ |
D | mm_types.h | 1124 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 …]
|
D | huge_mm.h | 10 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()
|
D | mm.h | 576 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 …]
|
D | userfaultfd_k.h | 39 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/ |
D | mmap.c | 31 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/ |
D | fault.c | 51 #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/ |
D | ttm_bo_vm.c | 41 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/ |
D | memory.c | 106 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 …]
|
D | secretmem.c | 50 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/ |
D | fb_defio.c | 94 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/ |
D | context.c | 98 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/ |
D | device.c | 103 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/ |
D | ttm_bo.h | 385 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/ |
D | dax.c | 1186 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/ |
D | vmwgfx_page_dirty.c | 375 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/ |
D | drm_vm.c | 110 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/ |
D | vma.c | 62 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/ |
D | copro.h | 17 unsigned long dsisr, vm_fault_t *flt);
|
/linux-6.6.21/arch/csky/mm/ |
D | fault.c | 73 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/ |
D | xfs_file.c | 1324 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/ |
D | fault.c | 133 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/ |
D | gem.c | 109 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/ |
D | vdso.c | 72 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/ |
D | fault.c | 222 #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/ |
D | file.c | 37 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()
|