Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
H A Dmm_types.h1305 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 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);
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 Dmm.h628 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 Ddax.h239 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 Duserfaultfd_k.h85 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 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/mm/
H A Dmemory.c105 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 Dsecretmem.c50 static vm_fault_t secretmem_fault(struct vm_fault *vmf) in secretmem_fault()
59 vm_fault_t ret; in secretmem_fault()
H A Dfilemap.c1686 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 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/video/fbdev/core/
H A Dfb_defio.c129 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 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/include/drm/ttm/
H A Dttm_bo.h424 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 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()
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 Dvma_internal.h101 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 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/fs/xfs/
H A Dxfs_file.c1422 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 Dfs-io-pagecache.h167 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 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/arch/csky/mm/
H A 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/arch/powerpc/include/asm/
H A Dcopro.h17 unsigned long dsisr, vm_fault_t *flt);
/linux/arch/s390/kernel/
H A Dvdso.c66 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 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()
/linux/arch/riscv/mm/
H A Dfault.c62 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 Dcontext.c126 static vm_fault_t cxl_mmap_fault(struct vm_fault *vmf) in cxl_mmap_fault()
131 vm_fault_t ret; in cxl_mmap_fault()

1234567