Searched refs:fault_flags (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/iommu/ |
D | iommu-sva.c | 158 unsigned int fault_flags = FAULT_FLAG_REMOTE; in iommu_sva_handle_iopf() local 180 fault_flags |= FAULT_FLAG_WRITE; in iommu_sva_handle_iopf() 185 fault_flags |= FAULT_FLAG_INSTRUCTION; in iommu_sva_handle_iopf() 189 fault_flags |= FAULT_FLAG_USER; in iommu_sva_handle_iopf() 195 ret = handle_mm_fault(vma, prm->addr, fault_flags, NULL); in iommu_sva_handle_iopf()
|
/linux-6.6.21/mm/ |
D | gup.c | 921 unsigned int fault_flags = 0; in faultin_page() local 927 fault_flags |= FAULT_FLAG_WRITE; in faultin_page() 929 fault_flags |= FAULT_FLAG_REMOTE; in faultin_page() 931 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_KILLABLE; in faultin_page() 939 fault_flags |= FAULT_FLAG_INTERRUPTIBLE; in faultin_page() 942 fault_flags |= FAULT_FLAG_ALLOW_RETRY | FAULT_FLAG_RETRY_NOWAIT; in faultin_page() 948 fault_flags |= FAULT_FLAG_TRIED; in faultin_page() 951 fault_flags |= FAULT_FLAG_UNSHARE; in faultin_page() 953 VM_BUG_ON(fault_flags & FAULT_FLAG_WRITE); in faultin_page() 956 ret = handle_mm_fault(vma, address, fault_flags, NULL); in faultin_page() [all …]
|
D | hmm.c | 68 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()
|
D | memory.c | 3630 unsigned int fault_flags) in should_try_to_free_swap() argument 3643 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap()
|
/linux-6.6.21/include/linux/ |
D | fault-inject.h | 35 enum fault_flags { enum
|
D | mm.h | 2375 unsigned long address, unsigned int fault_flags, 2391 unsigned int fault_flags, bool *unlocked) in fixup_user_fault() argument
|
/linux-6.6.21/arch/s390/include/asm/ |
D | gmap.h | 119 int gmap_fault(struct gmap *, unsigned long gaddr, unsigned int fault_flags);
|
/linux-6.6.21/include/linux/sched/ |
D | signal.h | 430 static inline bool fault_signal_pending(vm_fault_t fault_flags, in fault_signal_pending() argument 433 return unlikely((fault_flags & VM_FAULT_RETRY) && in fault_signal_pending()
|
/linux-6.6.21/arch/s390/mm/ |
D | gmap.c | 647 unsigned int fault_flags) in gmap_fault() argument 662 if (fixup_user_fault(gmap->mm, vmaddr, fault_flags, in gmap_fault() 894 unsigned int fault_flags; in gmap_pte_op_fixup() local 898 fault_flags = (prot == PROT_WRITE) ? FAULT_FLAG_WRITE : 0; in gmap_pte_op_fixup() 899 if (fixup_user_fault(mm, vmaddr, fault_flags, &unlocked)) in gmap_pte_op_fixup()
|