Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
A Dmm_types.h771 typedef __bitwise unsigned int vm_fault_t; typedef
799 VM_FAULT_OOM = (__force vm_fault_t)0x000001,
800 VM_FAULT_SIGBUS = (__force vm_fault_t)0x000002,
801 VM_FAULT_MAJOR = (__force vm_fault_t)0x000004,
802 VM_FAULT_WRITE = (__force vm_fault_t)0x000008,
803 VM_FAULT_HWPOISON = (__force vm_fault_t)0x000010,
804 VM_FAULT_HWPOISON_LARGE = (__force vm_fault_t)0x000020,
805 VM_FAULT_SIGSEGV = (__force vm_fault_t)0x000040,
806 VM_FAULT_NOPAGE = (__force vm_fault_t)0x000100,
807 VM_FAULT_LOCKED = (__force vm_fault_t)0x000200,
[all …]
A 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);
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()
282 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf);
429 static inline vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf) in do_huge_pmd_numa_page()
A Dmm.h591 vm_fault_t (*fault)(struct vm_fault *vmf);
592 vm_fault_t (*huge_fault)(struct vm_fault *vmf,
594 vm_fault_t (*map_pages)(struct vm_fault *vmf,
600 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
603 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
998 vm_fault_t finish_fault(struct vm_fault *vmf);
999 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
1889 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma,
2767 extern vm_fault_t filemap_fault(struct vm_fault *vmf);
2768 extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
[all …]
A Duserfaultfd_k.h38 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason);
151 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
A Ddax.h204 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size,
206 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
/linux/fs/ocfs2/
A 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/drivers/gpu/drm/ttm/
A Dttm_bo_vm.c46 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle()
49 vm_fault_t ret = 0; in ttm_bo_vm_fault_idle()
129 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, in ttm_bo_vm_reserve()
194 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, in ttm_bo_vm_fault_reserved()
208 vm_fault_t ret = VM_FAULT_NOPAGE; in ttm_bo_vm_fault_reserved()
297 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot) in ttm_bo_vm_dummy_page()
302 vm_fault_t ret = VM_FAULT_NOPAGE; in ttm_bo_vm_dummy_page()
327 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf) in ttm_bo_vm_fault()
333 vm_fault_t ret; in ttm_bo_vm_fault()
/linux/arch/s390/mm/
A Dfault.c48 #define VM_FAULT_BADCONTEXT ((__force vm_fault_t) 0x010000)
49 #define VM_FAULT_BADMAP ((__force vm_fault_t) 0x020000)
50 #define VM_FAULT_BADACCESS ((__force vm_fault_t) 0x040000)
51 #define VM_FAULT_SIGNAL ((__force vm_fault_t) 0x080000)
52 #define VM_FAULT_PFAULT ((__force vm_fault_t) 0x100000)
288 vm_fault_t fault) in do_fault_error()
347 static inline vm_fault_t do_exception(struct pt_regs *regs, int access) in do_exception()
357 vm_fault_t fault; in do_exception()
494 vm_fault_t fault; in do_protection_exception()
530 vm_fault_t fault; in do_dat_exception()
/linux/include/drm/ttm/
A Dttm_bo_api.h582 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo,
585 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf,
589 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf);
599 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
/linux/fs/
A Ddax.c1052 static vm_fault_t dax_load_hole(struct xa_state *xas, in dax_load_hole()
1059 vm_fault_t ret; in dax_load_hole()
1300 static vm_fault_t dax_fault_return(int error) in dax_fault_return()
1332 static vm_fault_t dax_fault_cow_page(struct vm_fault *vmf, in dax_fault_cow_page()
1337 vm_fault_t ret; in dax_fault_cow_page()
1374 static vm_fault_t dax_fault_iter(struct vm_fault *vmf, in dax_fault_iter()
1435 vm_fault_t ret = 0; in dax_iomap_pte_fault()
1544 vm_fault_t ret = VM_FAULT_FALLBACK; in dax_iomap_pmd_fault()
1658 static vm_fault_t
1664 vm_fault_t ret; in dax_insert_pfn_mkwrite()
[all …]
/linux/mm/
A Dmemory.c2846 vm_fault_t ret; in do_page_mkwrite()
3164 vm_fault_t ret; in wp_pfn_shared()
3186 vm_fault_t tmp; in wp_page_shared()
3479 vm_fault_t ret = 0; in do_swap_page()
3711 vm_fault_t ret = 0; in do_anonymous_page()
3826 vm_fault_t ret; in __do_fault()
4004 vm_fault_t ret; in finish_fault()
4178 vm_fault_t ret; in do_cow_fault()
4261 vm_fault_t ret; in do_fault()
4614 vm_fault_t ret; in __handle_mm_fault()
[all …]
/linux/drivers/dax/
A Ddevice.c76 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()
/linux/drivers/misc/ocxl/
A 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/drivers/gpu/drm/gma500/
A Dgem.c22 static vm_fault_t psb_gem_fault(struct vm_fault *vmf);
136 static vm_fault_t psb_gem_fault(struct vm_fault *vmf) in psb_gem_fault()
142 vm_fault_t ret; in psb_gem_fault()
/linux/drivers/gpu/drm/
A 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/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_page_dirty.c393 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()
/linux/arch/x86/entry/vdso/
A Dvma.c59 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
150 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
187 vm_fault_t err; in vvar_fault()
/linux/arch/powerpc/mm/
A Dfault.c138 vm_fault_t fault) in do_sigbus()
166 vm_fault_t fault) in mm_fault_error()
395 vm_fault_t fault, major = 0; in ___do_page_fault()
/linux/fs/xfs/
A Dxfs_file.c1309 static vm_fault_t
1317 vm_fault_t ret; in __xfs_filemap_fault()
1361 static vm_fault_t
1371 static vm_fault_t
1384 static vm_fault_t
1396 static vm_fault_t
1404 static vm_fault_t
1411 vm_fault_t ret; in xfs_filemap_map_pages()
/linux/fs/ext2/
A Dfile.c91 static vm_fault_t ext2_dax_fault(struct vm_fault *vmf) in ext2_dax_fault()
94 vm_fault_t ret; in ext2_dax_fault()
/linux/drivers/video/fbdev/core/
A 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/arch/s390/kernel/
A Dvdso.c92 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
97 vm_fault_t err; in vvar_fault()
/linux/arch/csky/mm/
A Dfault.c73 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error()
196 vm_fault_t fault; in do_page_fault()
/linux/arch/powerpc/include/asm/
A Dcopro.h17 unsigned long dsisr, vm_fault_t *flt);
/linux/arch/riscv/mm/
A Dfault.c61 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error()
218 vm_fault_t fault; in do_page_fault()

Completed in 69 milliseconds

1234567