Home
last modified time | relevance | path

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

/linux/drivers/iommu/
A Dio-pgfault.c79 unsigned int fault_flags = FAULT_FLAG_REMOTE; in iopf_handle_single() local
102 fault_flags |= FAULT_FLAG_WRITE; in iopf_handle_single()
107 fault_flags |= FAULT_FLAG_INSTRUCTION; in iopf_handle_single()
111 fault_flags |= FAULT_FLAG_USER; in iopf_handle_single()
117 ret = handle_mm_fault(vma, prm->addr, fault_flags, NULL); in iopf_handle_single()
/linux/mm/
A Dgup.c915 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()
936 fault_flags |= FAULT_FLAG_TRIED; 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
1278 if (!vma_permits_fault(vma, fault_flags)) in fixup_user_fault()
1281 if ((fault_flags & FAULT_FLAG_KILLABLE) && in fixup_user_fault()
[all …]
A 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()
A Dhugetlb.c6002 unsigned int fault_flags = 0; in follow_hugetlb_page() local
6007 fault_flags |= FAULT_FLAG_WRITE; in follow_hugetlb_page()
6009 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
6012 fault_flags |= FAULT_FLAG_ALLOW_RETRY | in follow_hugetlb_page()
6019 fault_flags |= FAULT_FLAG_TRIED; in follow_hugetlb_page()
6021 ret = hugetlb_fault(mm, vma, vaddr, fault_flags); in follow_hugetlb_page()
6029 !(fault_flags & FAULT_FLAG_RETRY_NOWAIT)) in follow_hugetlb_page()
/linux/arch/s390/include/asm/
A Dgmap.h119 int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags);
/linux/include/linux/sched/
A Dsignal.h412 static inline bool fault_signal_pending(vm_fault_t fault_flags, in fault_signal_pending() argument
415 return unlikely((fault_flags & VM_FAULT_RETRY) && in fault_signal_pending()
/linux/arch/s390/mm/
A Dgmap.c636 unsigned int fault_flags) in gmap_fault() argument
651 if (fixup_user_fault(gmap->mm, vmaddr, fault_flags, in gmap_fault()
883 unsigned int fault_flags; in gmap_pte_op_fixup() local
887 fault_flags = (prot == PROT_WRITE) ? FAULT_FLAG_WRITE : 0; in gmap_pte_op_fixup()
888 if (fixup_user_fault(mm, vmaddr, fault_flags, &unlocked)) in gmap_pte_op_fixup()
/linux/include/linux/
A Dmm.h1893 unsigned long address, unsigned int fault_flags,
1910 unsigned int fault_flags, bool *unlocked) in fixup_user_fault() argument

Completed in 35 milliseconds