Lines Matching refs:fault_flags
915 unsigned int fault_flags = 0; in faultin_page() local
924 fault_flags |= FAULT_FLAG_WRITE; in faultin_page()
926 fault_flags |= FAULT_FLAG_REMOTE; in faultin_page()
928 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in faultin_page()
930 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_RETRY_NOWAIT; in faultin_page()
936 fault_flags |= FAULT_FLAG_TRIED; in faultin_page()
939 ret = handle_mm_fault(vma, address, fault_flags, NULL); in faultin_page()
949 if (locked && !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in faultin_page()
1210 unsigned int fault_flags) in vma_permits_fault() argument
1212 bool write = !!(fault_flags & FAULT_FLAG_WRITE); in vma_permits_fault()
1213 bool foreign = !!(fault_flags & FAULT_FLAG_REMOTE); in vma_permits_fault()
1262 unsigned long address, unsigned int fault_flags, in fixup_user_fault() argument
1271 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in fixup_user_fault()
1278 if (!vma_permits_fault(vma, fault_flags)) in fixup_user_fault()
1281 if ((fault_flags & FAULT_FLAG_KILLABLE) && in fixup_user_fault()
1285 ret = handle_mm_fault(vma, address, fault_flags, NULL); in fixup_user_fault()
1297 fault_flags |= FAULT_FLAG_TRIED; in fixup_user_fault()