Searched refs:FAULT_FLAG_WRITE (Results 1 – 25 of 42) sorted by relevance
12
/linux/arch/sparc/mm/ |
H A D | fault_32.c | 172 flags |= FAULT_FLAG_WRITE; in do_sparc_fault() 322 flags |= FAULT_FLAG_WRITE; in force_user_fault()
|
H A D | fault_64.c | 422 flags |= FAULT_FLAG_WRITE; in do_sparc64_fault()
|
/linux/drivers/dax/ |
H A D | device.c | 176 return vmf_insert_pfn_pmd(vmf, pfn, vmf->flags & FAULT_FLAG_WRITE); in __dev_dax_pmd_fault() 221 return vmf_insert_pfn_pud(vmf, pfn, vmf->flags & FAULT_FLAG_WRITE); in __dev_dax_pud_fault() 239 (vmf->flags & FAULT_FLAG_WRITE) ? "write" : "read", in dev_dax_huge_fault()
|
/linux/include/trace/events/ |
H A D | fs_dax.h | 124 __entry->write = vmf->flags & FAULT_FLAG_WRITE; 213 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
|
/linux/arch/hexagon/mm/ |
H A D | vm_fault.c | 80 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/mm/ |
H A D | memory.c | 3170 vmf->flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in do_page_mkwrite() 3257 VM_BUG_ON(!(vmf->flags & FAULT_FLAG_WRITE)); in wp_page_reuse() 3950 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap() 4413 if ((vmf->flags & FAULT_FLAG_WRITE) && folio == swapcache && in do_swap_page() 4565 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page() 4567 vmf->flags &= ~FAULT_FLAG_WRITE; in do_swap_page() 4615 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page() 4781 if (!(vmf->flags & FAULT_FLAG_WRITE) && in do_anonymous_page() 4954 bool write = vmf->flags & FAULT_FLAG_WRITE; in do_set_pmd() 5043 bool write = vmf->flags & FAULT_FLAG_WRITE; in set_pte_range() [all …]
|
/linux/arch/powerpc/mm/ |
H A D | copro_fault.c | 59 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL); in copro_handle_mm_fault()
|
/linux/arch/m68k/mm/ |
H A D | fault.c | 126 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/arc/kernel/ |
H A D | process.c | 95 FAULT_FLAG_WRITE, NULL); in SYSCALL_DEFINE3()
|
/linux/arch/arc/mm/ |
H A D | fault.c | 113 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/alpha/mm/ |
H A D | fault.c | 139 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/nios2/mm/ |
H A D | fault.c | 115 flags = FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/microblaze/mm/ |
H A D | fault.c | 206 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/openrisc/mm/ |
H A D | fault.c | 149 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/xtensa/mm/ |
H A D | fault.c | 147 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/csky/mm/ |
H A D | fault.c | 238 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/loongarch/mm/ |
H A D | fault.c | 242 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
|
/linux/arch/mips/mm/ |
H A D | fault.c | 115 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
|
/linux/arch/um/kernel/ |
H A D | trap.c | 65 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
|
/linux/arch/riscv/mm/ |
H A D | fault.c | 284 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
|
/linux/drivers/iommu/ |
H A D | iommu-sva.c | 236 fault_flags |= FAULT_FLAG_WRITE; in iommu_sva_handle_mm()
|
/linux/arch/parisc/mm/ |
H A D | fault.c | 291 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/sh/mm/ |
H A D | fault.c | 462 flags |= FAULT_FLAG_WRITE; in do_page_fault()
|
/linux/arch/s390/kvm/ |
H A D | priv.c | 288 FAULT_FLAG_WRITE, &unlocked); in handle_iske() 334 FAULT_FLAG_WRITE, &unlocked); in handle_rrbe() 405 FAULT_FLAG_WRITE, &unlocked); in handle_sske() 1159 FAULT_FLAG_WRITE, &unlocked); in handle_pfmf()
|
/linux/fs/ |
H A D | dax.c | 1738 if ((vmf->flags & FAULT_FLAG_WRITE) && !vmf->cow_page) in dax_iomap_pte_fault() 1793 bool write = vmf->flags & FAULT_FLAG_WRITE; in dax_fault_check_fallback() 1836 if (vmf->flags & FAULT_FLAG_WRITE) in dax_iomap_pmd_fault() 1969 ret = vmf_insert_pfn_pmd(vmf, pfn, FAULT_FLAG_WRITE); in dax_insert_pfn_mkwrite()
|
12