Home
last modified time | relevance | path

Searched refs:fault_flags (Results 1 – 3 of 3) sorted by relevance

/mm/
Dgup.c952 unsigned int fault_flags = 0; in faultin_page() local
961 fault_flags |= FAULT_FLAG_WRITE; in faultin_page()
963 fault_flags |= FAULT_FLAG_REMOTE; in faultin_page()
965 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in faultin_page()
967 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_RETRY_NOWAIT; in faultin_page()
973 fault_flags |= FAULT_FLAG_TRIED; in faultin_page()
976 ret = handle_mm_fault(vma, address, fault_flags, NULL); in faultin_page()
986 if (locked && !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in faultin_page()
1247 unsigned int fault_flags) in vma_permits_fault() argument
1249 bool write = !!(fault_flags & FAULT_FLAG_WRITE); in vma_permits_fault()
[all …]
Dhmm.c68 unsigned int fault_flags = FAULT_FLAG_REMOTE; in hmm_vma_fault() local
76 fault_flags |= FAULT_FLAG_WRITE; in hmm_vma_fault()
80 if (handle_mm_fault(vma, addr, fault_flags, NULL) & in hmm_vma_fault()
Dhugetlb.c5526 unsigned int fault_flags = 0; in follow_hugetlb_page() local
5531 fault_flags |= FAULT_FLAG_WRITE; in follow_hugetlb_page()
5533 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
5536 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
5543 fault_flags |= FAULT_FLAG_TRIED; in follow_hugetlb_page()
5545 ret = hugetlb_fault(mm, vma, vaddr, fault_flags); in follow_hugetlb_page()
5553 !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in follow_hugetlb_page()