Home
last modified time | relevance | path

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

12

/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()
H A Dfault_64.c422 flags |= FAULT_FLAG_WRITE; in do_sparc64_fault()
/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()
/linux/include/trace/events/
H A Dfs_dax.h124 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
213 __entry->write = vmf->flags & FAULT_FLAG_WRITE;
/linux/arch/hexagon/mm/
H A Dvm_fault.c80 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/mm/
H A Dmemory.c3170 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 Dcopro_fault.c59 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL); in copro_handle_mm_fault()
/linux/arch/m68k/mm/
H A Dfault.c126 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/arc/kernel/
H A Dprocess.c95 FAULT_FLAG_WRITE, NULL); in SYSCALL_DEFINE3()
/linux/arch/arc/mm/
H A Dfault.c113 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/alpha/mm/
H A Dfault.c139 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/nios2/mm/
H A Dfault.c115 flags = FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/microblaze/mm/
H A Dfault.c206 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/openrisc/mm/
H A Dfault.c149 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/xtensa/mm/
H A Dfault.c147 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/csky/mm/
H A Dfault.c238 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/loongarch/mm/
H A Dfault.c242 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/linux/arch/mips/mm/
H A Dfault.c115 flags |= FAULT_FLAG_WRITE; in __do_page_fault()
/linux/arch/um/kernel/
H A Dtrap.c65 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
/linux/arch/riscv/mm/
H A Dfault.c284 flags |= FAULT_FLAG_WRITE; in handle_page_fault()
/linux/drivers/iommu/
H A Diommu-sva.c236 fault_flags |= FAULT_FLAG_WRITE; in iommu_sva_handle_mm()
/linux/arch/parisc/mm/
H A Dfault.c291 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/sh/mm/
H A Dfault.c462 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux/arch/s390/kvm/
H A Dpriv.c288 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 Ddax.c1738 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