/kernel/linux/linux-5.10/include/linux/ |
D | mm_types.h | 738 typedef __bitwise unsigned int vm_fault_t; typedef 766 VM_FAULT_OOM = (__force vm_fault_t)0x000001, 767 VM_FAULT_SIGBUS = (__force vm_fault_t)0x000002, 768 VM_FAULT_MAJOR = (__force vm_fault_t)0x000004, 769 VM_FAULT_WRITE = (__force vm_fault_t)0x000008, 770 VM_FAULT_HWPOISON = (__force vm_fault_t)0x000010, 771 VM_FAULT_HWPOISON_LARGE = (__force vm_fault_t)0x000020, 772 VM_FAULT_SIGSEGV = (__force vm_fault_t)0x000040, 773 VM_FAULT_NOPAGE = (__force vm_fault_t)0x000100, 774 VM_FAULT_LOCKED = (__force vm_fault_t)0x000200, [all …]
|
D | xpm.h | 55 static inline vm_fault_t xpm_integrity_check_hook(struct vm_area_struct *vma, in xpm_integrity_check_hook() 58 vm_fault_t ret = 0; in xpm_integrity_check_hook() 66 vm_fault_t xpm_integrity_validate_hook(struct vm_area_struct *vma, in xpm_integrity_validate_hook() 69 vm_fault_t ret = 0; in xpm_integrity_validate_hook()
|
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, pmd_t orig_pmd); 41 vm_fault_t vmf_insert_pfn_pmd_prot(struct vm_fault *vmf, pfn_t pfn, 55 static inline vm_fault_t vmf_insert_pfn_pmd(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pmd() 60 vm_fault_t vmf_insert_pfn_pud_prot(struct vm_fault *vmf, pfn_t pfn, 74 static inline vm_fault_t vmf_insert_pfn_pud(struct vm_fault *vmf, pfn_t pfn, in vmf_insert_pfn_pud() 294 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf, pmd_t orig_pmd); 447 static inline vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf, in do_huge_pmd_numa_page()
|
D | mm_purgeable.h | 15 vm_fault_t do_uxpte_page_fault(struct vm_fault *vmf, pte_t *entry); 55 static inline vm_fault_t do_uxpte_page_fault(struct vm_fault *vmf, in do_uxpte_page_fault()
|
D | userfaultfd_k.h | 35 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()
|
D | mm.h | 592 vm_fault_t (*fault)(struct vm_fault *vmf); 593 vm_fault_t (*huge_fault)(struct vm_fault *vmf, 601 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf); 604 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf); 1007 vm_fault_t alloc_set_pte(struct vm_fault *vmf, struct page *page); 1008 vm_fault_t finish_fault(struct vm_fault *vmf); 1009 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf); 1725 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma, 1737 static inline vm_fault_t handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault() 2688 extern vm_fault_t filemap_fault(struct vm_fault *vmf); [all …]
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | mmap.c | 33 static vm_fault_t ocfs2_fault(struct vm_fault *vmf) in ocfs2_fault() 37 vm_fault_t ret; in ocfs2_fault() 48 static vm_fault_t __ocfs2_page_mkwrite(struct file *file, in __ocfs2_page_mkwrite() 52 vm_fault_t ret = VM_FAULT_NOPAGE; in __ocfs2_page_mkwrite() 115 static vm_fault_t ocfs2_page_mkwrite(struct vm_fault *vmf) in ocfs2_page_mkwrite() 122 vm_fault_t ret; in ocfs2_page_mkwrite()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 45 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle() 48 vm_fault_t ret = 0; in ttm_bo_vm_fault_idle() 128 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, 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() 185 vm_fault_t ret; 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() 281 vm_fault_t ret = VM_FAULT_NOPAGE; in ttm_bo_vm_fault_reserved() 405 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf) in ttm_bo_vm_fault() 410 vm_fault_t ret; in ttm_bo_vm_fault()
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | fault.c | 47 #define VM_FAULT_BADCONTEXT ((__force vm_fault_t) 0x010000) 48 #define VM_FAULT_BADMAP ((__force vm_fault_t) 0x020000) 49 #define VM_FAULT_BADACCESS ((__force vm_fault_t) 0x040000) 50 #define VM_FAULT_SIGNAL ((__force vm_fault_t) 0x080000) 51 #define VM_FAULT_PFAULT ((__force vm_fault_t) 0x100000) 320 vm_fault_t fault) in do_fault_error() 382 static inline vm_fault_t do_exception(struct pt_regs *regs, int access) in do_exception() 392 vm_fault_t fault; in do_exception() 530 vm_fault_t fault; in do_protection_exception() 566 vm_fault_t fault; in do_dat_exception()
|
/kernel/linux/linux-5.10/mm/ |
D | memory.c | 1959 static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr, in insert_pfn() 2033 vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_prot() 2081 vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn() 2102 static vm_fault_t __vm_insert_mixed(struct vm_area_struct *vma, in __vm_insert_mixed() 2174 vm_fault_t vmf_insert_mixed_prot(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_mixed_prot() 2181 vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_mixed() 2193 vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma, in vmf_insert_mixed_mkwrite() 2743 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf) in do_page_mkwrite() 2745 vm_fault_t ret; in do_page_mkwrite() 2777 static vm_fault_t fault_dirty_shared_page(struct vm_fault *vmf) in fault_dirty_shared_page() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/ocxl/ |
D | context.c | 96 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq() 109 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio() 114 vm_fault_t ret; in map_pp_mmio() 137 static vm_fault_t ocxl_mmap_fault(struct vm_fault *vmf) in ocxl_mmap_fault() 142 vm_fault_t ret; in ocxl_mmap_fault()
|
/kernel/linux/linux-5.10/drivers/dax/ |
D | device.c | 76 static vm_fault_t __dev_dax_pte_fault(struct dev_dax *dev_dax, in __dev_dax_pte_fault() 106 static vm_fault_t __dev_dax_pmd_fault(struct dev_dax *dev_dax, in __dev_dax_pmd_fault() 147 static vm_fault_t __dev_dax_pud_fault(struct dev_dax *dev_dax, in __dev_dax_pud_fault() 188 static vm_fault_t __dev_dax_pud_fault(struct dev_dax *dev_dax, in __dev_dax_pud_fault() 195 static vm_fault_t dev_dax_huge_fault(struct vm_fault *vmf, in dev_dax_huge_fault() 200 vm_fault_t rc = VM_FAULT_SIGBUS; in dev_dax_huge_fault() 254 static vm_fault_t dev_dax_fault(struct vm_fault *vmf) in dev_dax_fault()
|
/kernel/linux/linux-5.10/include/linux/hck/ |
D | lite_hck_xpm.h | 41 unsigned long addr, struct page *page, vm_fault_t *ret), 46 unsigned long addr, struct page *page, vm_fault_t *ret),
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_bo_api.h | 618 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, 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);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 393 vm_fault_t vmw_bo_vm_mkwrite(struct vm_fault *vmf) in vmw_bo_vm_mkwrite() 398 vm_fault_t ret; in vmw_bo_vm_mkwrite() 435 vm_fault_t vmw_bo_vm_fault(struct vm_fault *vmf) in vmw_bo_vm_fault() 444 vm_fault_t ret; in vmw_bo_vm_fault() 491 vm_fault_t vmw_bo_vm_huge_fault(struct vm_fault *vmf, in vmw_bo_vm_huge_fault() 500 vm_fault_t ret; in vmw_bo_vm_huge_fault()
|
/kernel/linux/linux-5.10/fs/ |
D | dax.c | 1053 static vm_fault_t dax_load_hole(struct xa_state *xas, in dax_load_hole() 1060 vm_fault_t ret; in dax_load_hole() 1242 static vm_fault_t dax_fault_return(int error) in dax_fault_return() 1260 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault() 1275 vm_fault_t ret = 0; in dax_iomap_pte_fault() 1430 static vm_fault_t dax_pmd_load_hole(struct xa_state *xas, struct vm_fault *vmf, in dax_pmd_load_hole() 1482 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault() 1493 vm_fault_t result = VM_FAULT_FALLBACK; in dax_iomap_pmd_fault() 1644 static vm_fault_t dax_iomap_pmd_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pmd_fault() 1664 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size, in dax_iomap_fault() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | gem.c | 126 vm_fault_t psb_gem_fault(struct vm_fault *vmf) in psb_gem_fault() 132 vm_fault_t ret; in psb_gem_fault()
|
/kernel/linux/common_modules/xpm/core/ |
D | xpm_hck_hooks.c | 104 unsigned long addr, struct page *page, vm_fault_t *ret) in xpm_integrity_check() 141 unsigned long addr, struct page *page, vm_fault_t *ret) in xpm_integrity_validate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_vm.c | 115 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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | copro.h | 17 unsigned long dsisr, vm_fault_t *flt);
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | file.c | 91 static vm_fault_t ext2_dax_fault(struct vm_fault *vmf) in ext2_dax_fault() 95 vm_fault_t ret; in ext2_dax_fault()
|
/kernel/linux/linux-5.10/arch/x86/entry/vdso/ |
D | vma.c | 59 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault() 166 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault() 203 vm_fault_t err; in vvar_fault()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 137 vm_fault_t fault) in do_sigbus() 165 vm_fault_t fault) in mm_fault_error() 398 vm_fault_t fault, major = 0; in __do_page_fault()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | fault.c | 40 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error() 198 vm_fault_t fault; in do_page_fault()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
D | fb_defio.c | 40 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()
|