Lines Matching defs:vm_fault
511 * vm_fault is filled by the pagefault handler and passed to the vma's
520 struct vm_fault {
588 vm_fault_t (*fault)(struct vm_fault *vmf);
589 vm_fault_t (*huge_fault)(struct vm_fault *vmf, unsigned int order);
590 vm_fault_t (*map_pages)(struct vm_fault *vmf,
596 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
599 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
762 static inline void release_fault_lock(struct vm_fault *vmf)
770 static inline void assert_fault_locked(struct vm_fault *vmf)
803 static inline void release_fault_lock(struct vm_fault *vmf)
808 static inline void assert_fault_locked(struct vm_fault *vmf)
1369 vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page);
1370 void set_pte_range(struct vm_fault *vmf, struct folio *folio,
1373 vm_fault_t finish_fault(struct vm_fault *vmf);
3445 extern vm_fault_t filemap_fault(struct vm_fault *vmf);
3446 extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
3448 extern vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf);
3637 static inline int vm_fault_to_errno(vm_fault_t vm_fault, int foll_flags)
3639 if (vm_fault & VM_FAULT_OOM)
3641 if (vm_fault & (VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE))
3643 if (vm_fault & (VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV))