Home
last modified time | relevance | path

Searched refs:VM_MAYWRITE (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.1.9/arch/mips/kernel/
Dvdso.c104 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
180 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/arch/x86/um/vdso/
Dvma.c66 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/mm/
Dmapping_dirty_helpers.c240 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk()
241 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
/linux-6.1.9/arch/sh/kernel/vsyscall/
Dvsyscall.c75 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/arch/hexagon/kernel/
Dvdso.c70 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/arch/parisc/kernel/
Dvdso.c85 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/arch/csky/kernel/
Dvdso.c80 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in arch_setup_additional_pages()
/linux-6.1.9/arch/loongarch/include/asm/
Dpage.h107 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
/linux-6.1.9/arch/arm64/kernel/
Dvdso.c246 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in __setup_additional_pages()
401 VM_MAYWRITE | VM_MAYEXEC, in aarch32_sigreturn_setup()
/linux-6.1.9/arch/loongarch/kernel/
Dvdso.c130 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/drivers/misc/
Dopen-dice.c101 vma->vm_flags &= ~VM_MAYWRITE; in open_dice_mmap()
/linux-6.1.9/arch/arm/kernel/
Dvdso.c254 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arm_install_vdso()
Dprocess.c424 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_vm.c479 vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); in drm_mmap_dma()
563 vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); in drm_mmap_locked()
/linux-6.1.9/include/linux/
Dmm.h273 #define VM_MAYWRITE 0x00000020 macro
381 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
383 VM_MAYWRITE | VM_MAYEXEC)
385 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
1255 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping()
3473 vma->vm_flags &= ~(VM_MAYWRITE); in seal_check_future_write()
/linux-6.1.9/include/trace/events/
Dmmflags.h171 {VM_MAYWRITE, "maywrite" }, \
/linux-6.1.9/arch/riscv/kernel/
Dvdso.c279 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in __setup_additional_pages()
/linux-6.1.9/arch/s390/kernel/
Dvdso.c199 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/linux-6.1.9/kernel/bpf/
Dringbuf.c272 vma->vm_flags &= ~VM_MAYWRITE; in ringbuf_map_mmap_kern()
293 vma->vm_flags &= ~VM_MAYWRITE; in ringbuf_map_mmap_user()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfile_ops.c373 flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
406 vma->vm_flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
484 flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
502 flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
/linux-6.1.9/arch/powerpc/kernel/
Dvdso.c249 VM_MAYWRITE | VM_MAYEXEC, vdso_spec); in __arch_setup_additional_pages()
/linux-6.1.9/arch/x86/entry/vdso/
Dvma.c272 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/linux-6.1.9/drivers/platform/x86/intel/pmt/
Dclass.c104 if (vma->vm_flags & (VM_WRITE | VM_MAYWRITE)) in intel_pmt_mmap()
/linux-6.1.9/fs/
Duserfaultfd.c1384 if (unlikely(!(cur->vm_flags & VM_MAYWRITE))) in userfaultfd_register()
1400 if ((vm_flags & VM_UFFD_WP) && !(cur->vm_flags & VM_MAYWRITE)) in userfaultfd_register()
1436 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_register()
1619 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_unregister()
/linux-6.1.9/arch/sparc/vdso/
Dvma.c402 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()

12