Home
last modified time | relevance | path

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

123

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

123