Lines Matching refs:VmFaultReason

16         VirtAddr, VmFaultReason, VmFlags,
125 pub unsafe fn handle_mm_fault(mut pfm: PageFaultMessage) -> VmFaultReason { in handle_mm_fault() argument
138 return VmFaultReason::VM_FAULT_SIGSEGV; in handle_mm_fault()
150 VmFaultReason::VM_FAULT_COMPLETED in handle_mm_fault()
161 pub unsafe fn handle_normal_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in handle_normal_fault() argument
180 return VmFaultReason::VM_FAULT_OOM; in handle_normal_fault()
196 pub unsafe fn handle_pte_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in handle_pte_fault() argument
200 let mut ret = VmFaultReason::VM_FAULT_COMPLETED; in handle_pte_fault()
239 pub unsafe fn do_anonymous_page(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_anonymous_page() argument
259 VmFaultReason::VM_FAULT_COMPLETED in do_anonymous_page()
261 VmFaultReason::VM_FAULT_OOM in do_anonymous_page()
273 pub unsafe fn do_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_fault() argument
296 pub unsafe fn do_cow_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_cow_fault() argument
300 VmFaultReason::VM_FAULT_ERROR in do_cow_fault()
301 | VmFaultReason::VM_FAULT_NOPAGE in do_cow_fault()
302 | VmFaultReason::VM_FAULT_RETRY in do_cow_fault()
303 | VmFaultReason::VM_FAULT_DONE_COW, in do_cow_fault()
313 return VmFaultReason::VM_FAULT_OOM; in do_cow_fault()
351 pub unsafe fn do_read_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_read_fault() argument
374 pub unsafe fn do_shared_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_shared_fault() argument
395 pub unsafe fn do_swap_page(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_swap_page() argument
415 pub unsafe fn do_numa_page(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_numa_page() argument
434 pub unsafe fn do_wp_page(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_wp_page() argument
457 VmFaultReason::VM_FAULT_COMPLETED in do_wp_page()
465 VmFaultReason::VM_FAULT_COMPLETED in do_wp_page()
483 VmFaultReason::VM_FAULT_COMPLETED in do_wp_page()
485 VmFaultReason::VM_FAULT_OOM in do_wp_page()
506 VmFaultReason::VM_FAULT_COMPLETED in do_wp_page()
508 VmFaultReason::VM_FAULT_OOM in do_wp_page()
521 pub unsafe fn do_fault_around(pfm: &mut PageFaultMessage) -> VmFaultReason { in do_fault_around() argument
568 return VmFaultReason::VM_FAULT_OOM; in do_fault_around()
579 VmFaultReason::empty() in do_fault_around()
595 ) -> VmFaultReason { in filemap_map_pages() argument
625 VmFaultReason::empty() in filemap_map_pages()
636 pub unsafe fn filemap_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in filemap_fault() argument
643 let mut ret = VmFaultReason::empty(); in filemap_fault()
653 ret = VmFaultReason::VM_FAULT_MAJOR; in filemap_fault()
694 pub unsafe fn finish_fault(pfm: &mut PageFaultMessage) -> VmFaultReason { in finish_fault() argument
717 VmFaultReason::VM_FAULT_COMPLETED in finish_fault()