Home
last modified time | relevance | path

Searched refs:FAULT_FLAG_WRITE (Results 1 – 25 of 52) sorted by relevance

123

/linux-6.6.21/arch/sparc/mm/
Dfault_32.c172 flags |= FAULT_FLAG_WRITE; in do_sparc_fault()
322 flags |= FAULT_FLAG_WRITE; in force_user_fault()
/linux-6.6.21/drivers/dax/
Ddevice.c176 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-6.6.21/arch/hexagon/mm/
Dvm_fault.c79 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/mm/
Dmemory.c2928 vmf->flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in do_page_mkwrite()
3016 VM_BUG_ON(!(vmf->flags & FAULT_FLAG_WRITE)); in wp_page_reuse()
3643 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap()
3910 if ((vmf->flags & FAULT_FLAG_WRITE) && folio == swapcache && in do_swap_page()
4005 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page()
4007 vmf->flags &= ~FAULT_FLAG_WRITE; in do_swap_page()
4045 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page()
4107 if (!(vmf->flags & FAULT_FLAG_WRITE) && in do_anonymous_page()
4274 bool write = vmf->flags & FAULT_FLAG_WRITE; in do_set_pmd()
4355 bool write = vmf->flags & FAULT_FLAG_WRITE; in set_pte_range()
[all …]
/linux-6.6.21/arch/powerpc/mm/
Dcopro_fault.c59 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL); in copro_handle_mm_fault()
/linux-6.6.21/include/trace/events/
Dfs_dax.h124 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
213 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
/linux-6.6.21/arch/arc/kernel/
Dprocess.c95 FAULT_FLAG_WRITE, NULL); in SYSCALL_DEFINE3()
/linux-6.6.21/arch/m68k/mm/
Dfault.c124 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/arc/mm/
Dfault.c113 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/alpha/mm/
Dfault.c139 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/nios2/mm/
Dfault.c115 flags = FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/microblaze/mm/
Dfault.c206 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/ia64/mm/
Dfault.c96 flags |= FAULT_FLAG_WRITE; in ia64_do_page_fault()
/linux-6.6.21/drivers/iommu/
Diommu-sva.c180 fault_flags |= FAULT_FLAG_WRITE; in iommu_sva_handle_iopf()
/linux-6.6.21/arch/openrisc/mm/
Dfault.c149 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/xtensa/mm/
Dfault.c147 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/loongarch/mm/
Dfault.c201 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/linux-6.6.21/arch/csky/mm/
Dfault.c238 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/s390/mm/
Dfault.c407 flags |= FAULT_FLAG_WRITE; in do_exception()
439 current->thread.gmap_write_flag = !!(flags & FAULT_FLAG_WRITE); in do_exception()
/linux-6.6.21/arch/mips/mm/
Dfault.c114 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/linux-6.6.21/arch/riscv/mm/
Dfault.c283 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
/linux-6.6.21/arch/um/kernel/
Dtrap.c65 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
/linux-6.6.21/arch/parisc/mm/
Dfault.c291 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/arch/sh/mm/
Dfault.c462 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-6.6.21/fs/ext2/
Dfile.c97 bool write = (vmf->flags & FAULT_FLAG_WRITE) && in ext2_dax_fault()

123