Home
last modified time | relevance | path

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

123

/Linux-v6.6/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-v6.6/arch/x86/um/vdso/
Dvma.c66 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/mm/
Dmapping_dirty_helpers.c224 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk()
225 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
Dnommu.c864 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/
Dvdso.c70 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/arch/sh/kernel/vsyscall/
Dvsyscall.c75 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/arch/csky/kernel/
Dvdso.c80 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in arch_setup_additional_pages()
/Linux-v6.6/arch/parisc/kernel/
Dvdso.c85 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/arch/loongarch/include/asm/
Dpage.h100 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
/Linux-v6.6/arch/arm64/kernel/
Dvdso.c222 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/
Dvdso.c196 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/drivers/misc/
Dopen-dice.c98 vm_flags_clear(vma, VM_MAYWRITE); in open_dice_mmap()
/Linux-v6.6/arch/arm/kernel/
Dvdso.c254 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arm_install_vdso()
Dprocess.c422 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/Linux-v6.6/arch/s390/kernel/
Dvdso.c177 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/Linux-v6.6/arch/riscv/kernel/
Dvdso.c245 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in __setup_additional_pages()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_vm.c479 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/
Dmmflags.h173 {VM_MAYWRITE, "maywrite" }, \
/Linux-v6.6/kernel/bpf/
Dringbuf.c269 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/
Dmm.h273 #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/
Dfile_ops.c390 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/
Dvdso.c225 VM_MAYWRITE | VM_MAYEXEC, vdso_spec); in __arch_setup_additional_pages()
/Linux-v6.6/arch/x86/entry/vdso/
Dvma.c249 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/Linux-v6.6/drivers/platform/x86/intel/pmt/
Dclass.c104 if (vma->vm_flags & (VM_WRITE | VM_MAYWRITE)) in intel_pmt_mmap()
/Linux-v6.6/fs/
Duserfaultfd.c1414 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()

123