Lines Matching refs:mm_flags
491 unsigned int mm_flags) in fault_from_pkey() argument
502 mm_flags & FAULT_FLAG_WRITE, in fault_from_pkey()
503 mm_flags & FAULT_FLAG_INSTRUCTION, in fault_from_pkey()
528 unsigned int mm_flags = FAULT_FLAG_DEFAULT; in do_page_fault() local
545 mm_flags |= FAULT_FLAG_USER; in do_page_fault()
556 mm_flags |= FAULT_FLAG_INSTRUCTION; in do_page_fault()
560 mm_flags |= FAULT_FLAG_WRITE; in do_page_fault()
583 if (!(mm_flags & FAULT_FLAG_USER)) in do_page_fault()
598 if (fault_from_pkey(esr, vma, mm_flags)) { in do_page_fault()
607 fault = handle_mm_fault(vma, addr, mm_flags | FAULT_FLAG_VMA_LOCK, regs); in do_page_fault()
617 mm_flags |= FAULT_FLAG_TRIED; in do_page_fault()
642 if (fault_from_pkey(esr, vma, mm_flags)) { in do_page_fault()
650 fault = handle_mm_fault(vma, addr, mm_flags, regs); in do_page_fault()
664 mm_flags |= FAULT_FLAG_TRIED; in do_page_fault()