Home
last modified time | relevance | path

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

123

/Linux-v6.1/arch/sparc/mm/
Dfault_32.c181 flags |= FAULT_FLAG_WRITE; in do_sparc_fault()
336 flags |= FAULT_FLAG_WRITE; in force_user_fault()
/Linux-v6.1/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()
240 (vmf->flags & FAULT_FLAG_WRITE) ? "write" : "read", in dev_dax_huge_fault()
/Linux-v6.1/arch/hexagon/mm/
Dvm_fault.c90 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/mm/
Dmemory.c2971 vmf->flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in do_page_mkwrite()
3059 VM_BUG_ON(!(vmf->flags & FAULT_FLAG_WRITE)); in wp_page_reuse()
3374 VM_BUG_ON(unshare && (vmf->flags & FAULT_FLAG_WRITE)); in do_wp_page()
3375 VM_BUG_ON(!unshare && !(vmf->flags & FAULT_FLAG_WRITE)); in do_wp_page()
3660 return (fault_flags & FAULT_FLAG_WRITE) && !folio_test_ksm(folio) && in should_try_to_free_swap()
3890 if ((vmf->flags & FAULT_FLAG_WRITE) && folio == swapcache && in do_swap_page()
3982 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page()
3984 vmf->flags &= ~FAULT_FLAG_WRITE; in do_swap_page()
4025 if (vmf->flags & FAULT_FLAG_WRITE) { in do_swap_page()
4089 if (!(vmf->flags & FAULT_FLAG_WRITE) && in do_anonymous_page()
[all …]
/Linux-v6.1/include/trace/events/
Dfs_dax.h124 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
213 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
/Linux-v6.1/arch/powerpc/mm/
Dcopro_fault.c67 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL); in copro_handle_mm_fault()
/Linux-v6.1/arch/arc/mm/
Dfault.c112 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/m68k/mm/
Dfault.c123 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/microblaze/mm/
Dfault.c205 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/arc/kernel/
Dprocess.c95 FAULT_FLAG_WRITE, NULL); in SYSCALL_DEFINE3()
/Linux-v6.1/arch/alpha/mm/
Dfault.c147 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/openrisc/mm/
Dfault.c146 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/nios2/mm/
Dfault.c128 flags = FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/fs/ext2/
Dfile.c95 bool write = (vmf->flags & FAULT_FLAG_WRITE) && in ext2_dax_fault()
/Linux-v6.1/arch/loongarch/mm/
Dfault.c196 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/Linux-v6.1/arch/ia64/mm/
Dfault.c96 flags |= FAULT_FLAG_WRITE; in ia64_do_page_fault()
/Linux-v6.1/arch/xtensa/mm/
Dfault.c155 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/csky/mm/
Dfault.c239 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/riscv/mm/
Dfault.c278 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/mips/mm/
Dfault.c122 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/Linux-v6.1/arch/s390/mm/
Dfault.c384 flags |= FAULT_FLAG_WRITE; in do_exception()
391 current->thread.gmap_write_flag = !!(flags & FAULT_FLAG_WRITE); in do_exception()
/Linux-v6.1/arch/um/kernel/
Dtrap.c64 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
/Linux-v6.1/arch/parisc/mm/
Dfault.c286 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/arch/sh/mm/
Dfault.c475 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/Linux-v6.1/drivers/iommu/
Dio-pgfault.c102 fault_flags |= FAULT_FLAG_WRITE; in iopf_handle_single()

123