/Linux-v6.6/arch/mips/kernel/ |
D | vdso.c | 104 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages() 180 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/arch/x86/um/vdso/ |
D | vma.c | 66 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/mm/ |
D | mapping_dirty_helpers.c | 224 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk() 225 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
|
D | nommu.c | 864 vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; in determine_vm_flags() 870 vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC; in determine_vm_flags() 1671 if (write && vma->vm_flags & VM_MAYWRITE) in __access_remote_vm()
|
/Linux-v6.6/arch/hexagon/kernel/ |
D | vdso.c | 70 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/arch/sh/kernel/vsyscall/ |
D | vsyscall.c | 75 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/arch/csky/kernel/ |
D | vdso.c | 80 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in arch_setup_additional_pages()
|
/Linux-v6.6/arch/parisc/kernel/ |
D | vdso.c | 85 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/arch/loongarch/include/asm/ |
D | page.h | 100 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
|
/Linux-v6.6/arch/arm64/kernel/ |
D | vdso.c | 222 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in __setup_additional_pages() 377 VM_MAYWRITE | VM_MAYEXEC, in aarch32_sigreturn_setup()
|
/Linux-v6.6/arch/loongarch/kernel/ |
D | vdso.c | 196 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/drivers/misc/ |
D | open-dice.c | 98 vm_flags_clear(vma, VM_MAYWRITE); in open_dice_mmap()
|
/Linux-v6.6/arch/arm/kernel/ |
D | vdso.c | 254 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arm_install_vdso()
|
D | process.c | 422 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/Linux-v6.6/arch/s390/kernel/ |
D | vdso.c | 177 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
|
/Linux-v6.6/arch/riscv/kernel/ |
D | vdso.c | 245 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in __setup_additional_pages()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_vm.c | 479 vm_flags_clear(vma, VM_WRITE | VM_MAYWRITE); in drm_mmap_dma() 563 vm_flags_clear(vma, VM_WRITE | VM_MAYWRITE); in drm_mmap_locked()
|
/Linux-v6.6/include/trace/events/ |
D | mmflags.h | 173 {VM_MAYWRITE, "maywrite" }, \
|
/Linux-v6.6/kernel/bpf/ |
D | ringbuf.c | 269 vm_flags_clear(vma, VM_MAYWRITE); in ringbuf_map_mmap_kern() 290 vm_flags_clear(vma, VM_MAYWRITE); in ringbuf_map_mmap_user()
|
/Linux-v6.6/include/linux/ |
D | mm.h | 273 #define VM_MAYWRITE 0x00000020 macro 403 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 405 VM_MAYWRITE | VM_MAYEXEC) 407 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 1588 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping() 4028 vm_flags_clear(vma, VM_MAYWRITE); in seal_check_future_write()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 390 flags &= ~VM_MAYWRITE; in hfi1_file_mmap() 425 vm_flags_clear(vma, VM_MAYWRITE); in hfi1_file_mmap() 514 flags &= ~VM_MAYWRITE; in hfi1_file_mmap() 532 flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | vdso.c | 225 VM_MAYWRITE | VM_MAYEXEC, vdso_spec); in __arch_setup_additional_pages()
|
/Linux-v6.6/arch/x86/entry/vdso/ |
D | vma.c | 249 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
|
/Linux-v6.6/drivers/platform/x86/intel/pmt/ |
D | class.c | 104 if (vma->vm_flags & (VM_WRITE | VM_MAYWRITE)) in intel_pmt_mmap()
|
/Linux-v6.6/fs/ |
D | userfaultfd.c | 1414 if (unlikely(!(cur->vm_flags & VM_MAYWRITE))) in userfaultfd_register() 1430 if ((vm_flags & VM_UFFD_WP) && !(cur->vm_flags & VM_MAYWRITE)) in userfaultfd_register() 1466 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_register() 1643 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_unregister()
|