Searched refs:fault_flags (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | gup.c | 869 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 …]
|
D | hmm.c | 66 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()
|
D | hugetlb.c | 4919 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/ |
D | gmap.h | 119 int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags);
|
/kernel/linux/linux-5.10/include/linux/sched/ |
D | signal.h | 388 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/ |
D | gmap.c | 637 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/ |
D | mm.h | 1719 unsigned long address, unsigned int fault_flags, 1736 unsigned int fault_flags, bool *unlocked) in fixup_user_fault() argument
|