Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dgup.c869 unsigned int fault_flags = 0; in faultin_page() local
876 fault_flags |= FAULT_FLAG_WRITE; in faultin_page()
878 fault_flags |= FAULT_FLAG_REMOTE; in faultin_page()
880 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in faultin_page()
882 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_RETRY_NOWAIT; in faultin_page()
888 fault_flags |= FAULT_FLAG_TRIED; in faultin_page()
891 ret = handle_mm_fault(vma, address, fault_flags, NULL); in faultin_page()
901 if (locked && !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in faultin_page()
1153 unsigned int fault_flags) in vma_permits_fault() argument
1155 bool write = !!(fault_flags & FAULT_FLAG_WRITE); in vma_permits_fault()
[all …]
Dhmm.c66 unsigned int fault_flags = FAULT_FLAG_REMOTE; in hmm_vma_fault() local
74 fault_flags |= FAULT_FLAG_WRITE; in hmm_vma_fault()
78 if (handle_mm_fault(vma, addr, fault_flags, NULL) & in hmm_vma_fault()
Dhugetlb.c4919 unsigned int fault_flags = 0; in follow_hugetlb_page() local
4924 fault_flags |= FAULT_FLAG_WRITE; in follow_hugetlb_page()
4926 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
4929 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
4936 fault_flags |= FAULT_FLAG_TRIED; in follow_hugetlb_page()
4938 ret = hugetlb_fault(mm, vma, vaddr, fault_flags); in follow_hugetlb_page()
4946 !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in follow_hugetlb_page()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dgmap.h119 int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags);
/kernel/linux/linux-5.10/include/linux/sched/
Dsignal.h388 static inline bool fault_signal_pending(vm_fault_t fault_flags, in fault_signal_pending() argument
391 return unlikely((fault_flags & VM_FAULT_RETRY) && in fault_signal_pending()
/kernel/linux/linux-5.10/arch/s390/mm/
Dgmap.c637 unsigned int fault_flags) in gmap_fault() argument
652 if (fixup_user_fault(gmap->mm, vmaddr, fault_flags, in gmap_fault()
878 unsigned int fault_flags; in gmap_pte_op_fixup() local
882 fault_flags = (prot == PROT_WRITE) ? FAULT_FLAG_WRITE : 0; in gmap_pte_op_fixup()
883 if (fixup_user_fault(mm, vmaddr, fault_flags, &unlocked)) in gmap_pte_op_fixup()
/kernel/linux/linux-5.10/include/linux/
Dmm.h1719 unsigned long address, unsigned int fault_flags,
1736 unsigned int fault_flags, bool *unlocked) in fixup_user_fault() argument