Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Diommu-sva.c214 unsigned int fault_flags = FAULT_FLAG_REMOTE; in iommu_sva_handle_mm() local
236 fault_flags |= FAULT_FLAG_WRITE; in iommu_sva_handle_mm()
241 fault_flags |= FAULT_FLAG_INSTRUCTION; in iommu_sva_handle_mm()
245 fault_flags |= FAULT_FLAG_USER; in iommu_sva_handle_mm()
251 ret = handle_mm_fault(vma, prm->addr, fault_flags, NULL); in iommu_sva_handle_mm()
/linux/mm/
H A Dgup.c1161 unsigned int fault_flags = 0; in faultin_page() local
1167 fault_flags |= FAULT_FLAG_WRITE; in faultin_page()
1169 fault_flags |= FAULT_FLAG_REMOTE; in faultin_page()
1171 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in faultin_page()
1179 fault_flags |= FAULT_FLAG_INTERRUPTIBLE; in faultin_page()
1182 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_RETRY_NOWAIT; in faultin_page()
1188 fault_flags |= FAULT_FLAG_TRIED; in faultin_page()
1191 fault_flags |= FAULT_FLAG_UNSHARE; in faultin_page()
1193 VM_BUG_ON(fault_flags & FAULT_FLAG_WRITE); in faultin_page()
1196 ret = handle_mm_fault(vma, address, fault_flags, NULL); in faultin_page()
[all …]
H 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()
H A Dmemory.c3937 unsigned int fault_flags) in should_try_to_free_swap() argument
3950 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap()
/linux/include/linux/
H A Dfault-inject.h39 enum fault_flags { enum
H A Dmm.h2446 unsigned long address, unsigned int fault_flags,
2462 unsigned int fault_flags, bool *unlocked) in fixup_user_fault() argument
/linux/include/linux/sched/
H A Dsignal.h419 static inline bool fault_signal_pending(vm_fault_t fault_flags, in fault_signal_pending() argument
422 return unlikely((fault_flags & VM_FAULT_RETRY) && in fault_signal_pending()
/linux/arch/s390/kernel/
H A Duv.c29 unsigned int fault_flags) in gmap_fault() argument