Lines Matching refs:vm_fault
536 struct vm_fault { struct
612 vm_fault_t (*fault)(struct vm_fault *vmf);
613 vm_fault_t (*huge_fault)(struct vm_fault *vmf,
615 vm_fault_t (*map_pages)(struct vm_fault *vmf,
621 vm_fault_t (*page_mkwrite)(struct vm_fault *vmf);
624 vm_fault_t (*pfn_mkwrite)(struct vm_fault *vmf);
1064 vm_fault_t do_set_pmd(struct vm_fault *vmf, struct page *page);
1065 void do_set_pte(struct vm_fault *vmf, struct page *page, unsigned long addr);
1067 vm_fault_t finish_fault(struct vm_fault *vmf);
1068 vm_fault_t finish_mkwrite_fault(struct vm_fault *vmf);
2726 extern vm_fault_t filemap_fault(struct vm_fault *vmf);
2727 extern vm_fault_t filemap_map_pages(struct vm_fault *vmf,
2729 extern vm_fault_t filemap_page_mkwrite(struct vm_fault *vmf);
3003 static inline int vm_fault_to_errno(vm_fault_t vm_fault, int foll_flags) in vm_fault_to_errno() argument
3005 if (vm_fault & VM_FAULT_OOM) in vm_fault_to_errno()
3007 if (vm_fault & (VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE)) in vm_fault_to_errno()
3009 if (vm_fault & (VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV)) in vm_fault_to_errno()
3393 bool __pte_map_lock(struct vm_fault *vmf);
3395 static inline bool pte_map_lock(struct vm_fault *vmf) in pte_map_lock()
3401 static inline bool pte_spinlock(struct vm_fault *vmf) in pte_spinlock()