/linux/include/linux/ |
H A D | mm_types.h | 1305 typedef __bitwise unsigned int vm_fault_t; typedef 1333 VM_FAULT_OOM = (__force vm_fault_t)0x000001, 1334 VM_FAULT_SIGBUS = (__force vm_fault_t)0x000002, 1335 VM_FAULT_MAJOR = (__force vm_fault_t)0x000004, 1336 VM_FAULT_HWPOISON = (__force vm_fault_t)0x000010, 1337 VM_FAULT_HWPOISON_LARGE = (__force vm_fault_t)0x000020, 1338 VM_FAULT_SIGSEGV = (__force vm_fault_t)0x000040, 1339 VM_FAULT_NOPAGE = (__force vm_fault_t)0x000100, 1340 VM_FAULT_LOCKED = (__force vm_fault_t)0x000200, 1341 VM_FAULT_RETRY = (__force vm_fault_t)0x000400, [all …]
|
H A 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); 444 vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf); 590 static inline vm_fault_t do_huge_pmd_numa_page(struct vm_fault *vmf) in do_huge_pmd_numa_page()
|
H A D | mm.h | 628 vm_fault_t (*fault)(struct vm_fault *vmf); 629 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order); 630 vm_fault_t (*map_pages)(struct vm_fault *vmf, 636 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf); 639 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf); 1355 vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page); 1359 vm_fault_t finish_fault(struct vm_fault *vmf); 2442 extern vm_fault_t handle_mm_fault(struct vm_area_struct *vma, 2453 static inline vm_fault_t handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault() 3430 extern vm_fault_t filemap_fault(struct vm_fault *vmf); [all …]
|
H A D | dax.h | 239 vm_fault_t dax_iomap_fault(struct vm_fault *vmf, unsigned int order, 241 vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
|
H A D | userfaultfd_k.h | 85 extern vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason); 300 static inline vm_fault_t handle_userfault(struct vm_fault *vmf, in handle_userfault()
|
/linux/fs/ocfs2/ |
H A 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/mm/ |
H A D | memory.c | 105 static vm_fault_t do_fault(struct vm_fault *vmf); 106 static vm_fault_t do_anonymous_page(struct vm_fault *vmf); 2330 static vm_fault_t insert_pfn(struct vm_area_struct *vma, unsigned long addr, in insert_pfn() 2417 vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_prot() 2465 vm_fault_t vmf_insert_pfn(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn() 2489 static vm_fault_t __vm_insert_mixed(struct vm_area_struct *vma, in __vm_insert_mixed() 2536 vm_fault_t vmf_insert_mixed(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_mixed() 2548 vm_fault_t vmf_insert_mixed_mkwrite(struct vm_area_struct *vma, in vmf_insert_mixed_mkwrite() 3165 static vm_fault_t do_page_mkwrite(struct vm_fault *vmf, struct folio *folio) in do_page_mkwrite() 3167 vm_fault_t ret; in do_page_mkwrite() [all …]
|
H A 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()
|
H A D | filemap.c | 1686 vm_fault_t __folio_lock_or_retry(struct folio *folio, struct vm_fault *vmf) in __folio_lock_or_retry() 3227 static vm_fault_t filemap_fault_recheck_pte_none(struct vm_fault *vmf) in filemap_fault_recheck_pte_none() 3230 vm_fault_t ret = 0; in filemap_fault_recheck_pte_none() 3293 vm_fault_t filemap_fault(struct vm_fault *vmf) in filemap_fault() 3302 vm_fault_t ret = 0; in filemap_fault() 3468 vm_fault_t ret = do_set_pmd(vmf, page); in filemap_map_pmd() 3527 static vm_fault_t filemap_map_folio_range(struct vm_fault *vmf, in filemap_map_folio_range() 3532 vm_fault_t ret = 0; in filemap_map_folio_range() 3590 static vm_fault_t filemap_map_order0_folio(struct vm_fault *vmf, in filemap_map_order0_folio() 3594 vm_fault_t ret = 0; in filemap_map_order0_folio() [all …]
|
/linux/drivers/misc/ocxl/ |
H A 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/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 129 static vm_fault_t fb_deferred_io_fault(struct vm_fault *vmf) in fb_deferred_io_fault() 179 static vm_fault_t fb_deferred_io_track_page(struct fb_info *info, unsigned long offset, in fb_deferred_io_track_page() 184 vm_fault_t ret; in fb_deferred_io_track_page() 230 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite() 241 static vm_fault_t fb_deferred_io_mkwrite(struct vm_fault *vmf) in fb_deferred_io_mkwrite()
|
/linux/drivers/dax/ |
H A 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/include/drm/ttm/ |
H A D | ttm_bo.h | 424 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, 426 vm_fault_t ttm_bo_vm_fault_reserved(struct vm_fault *vmf, 429 vm_fault_t ttm_bo_vm_fault(struct vm_fault *vmf); 434 vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
|
/linux/fs/ |
H A 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() 1597 static vm_fault_t dax_fault_return(int error) in dax_fault_return() 1610 static vm_fault_t dax_fault_synchronous_pfnp(pfn_t *pfnp, pfn_t pfn) in dax_fault_synchronous_pfnp() 1618 static vm_fault_t dax_fault_cow_page(struct vm_fault *vmf, in dax_fault_cow_page() 1621 vm_fault_t ret; in dax_fault_cow_page() 1657 static vm_fault_t dax_fault_iter(struct vm_fault *vmf, in dax_fault_iter() 1712 static vm_fault_t dax_iomap_pte_fault(struct vm_fault *vmf, pfn_t *pfnp, in dax_iomap_pte_fault() [all …]
|
/linux/tools/testing/vma/ |
H A D | vma_internal.h | 101 typedef __bitwise unsigned int vm_fault_t; 319 vm_fault_t (*fault)(struct vm_fault *vmf); 320 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order); 321 vm_fault_t (*map_pages)(struct vm_fault *vmf, 327 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf); 330 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf); 91 typedef __bitwise unsigned int vm_fault_t; global() typedef
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A 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/fs/xfs/ |
H A D | xfs_file.c | 1422 static inline vm_fault_t 1428 vm_fault_t ret; in xfs_dax_fault_locked() 1444 static vm_fault_t 1450 vm_fault_t ret; in xfs_dax_read_fault() 1471 static vm_fault_t 1479 vm_fault_t ret; in xfs_write_fault() 1516 static vm_fault_t 1533 static vm_fault_t 1547 static vm_fault_t 1559 static vm_fault_t
|
/linux/fs/bcachefs/ |
H A D | fs-io-pagecache.h | 167 vm_fault_t bch2_page_fault(struct vm_fault *); 168 vm_fault_t bch2_page_mkwrite(struct vm_fault *);
|
/linux/drivers/gpu/drm/gma500/ |
H A 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/arch/csky/mm/ |
H A 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/arch/powerpc/include/asm/ |
H A D | copro.h | 17 unsigned long dsisr, vm_fault_t *flt);
|
/linux/arch/s390/kernel/ |
H A D | vdso.c | 66 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault() 71 vm_fault_t err; in vvar_fault()
|
/linux/fs/udf/ |
H A 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()
|
/linux/arch/riscv/mm/ |
H A D | fault.c | 62 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error() 231 vm_fault_t fault; in handle_page_fault()
|
/linux/drivers/misc/cxl/ |
H A D | context.c | 126 static vm_fault_t cxl_mmap_fault(struct vm_fault *vmf) in cxl_mmap_fault() 131 vm_fault_t ret; in cxl_mmap_fault()
|