/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 52 if ((vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) != VM_MAYWRITE) in vmw_mmap()
|
D | vmwgfx_page_dirty.c | 504 (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in vmw_bo_vm_huge_fault()
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | vdso.c | 104 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages() 179 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/x86/um/vdso/ |
D | vma.c | 66 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/mm/ |
D | mapping_dirty_helpers.c | 235 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk() 236 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
|
D | internal.h | 426 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping()
|
/kernel/linux/linux-5.10/arch/sh/kernel/vsyscall/ |
D | vsyscall.c | 75 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
D | vdso.c | 70 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | vdso.c | 65 VM_READ|VM_EXEC|VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | vdso.c | 86 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | vdso.c | 267 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in __setup_additional_pages() 419 VM_MAYWRITE | VM_MAYEXEC, in aarch32_sigreturn_setup()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | vdso.c | 209 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | mmflags.h | 153 {VM_MAYWRITE, "maywrite" }, \
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | vdso.c | 263 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arm_install_vdso()
|
D | process.c | 428 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | vdso.c | 181 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_vm.c | 484 vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); in drm_mmap_dma() 568 vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE); in drm_mmap_locked()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 412 flags &= ~VM_MAYWRITE; in hfi1_file_mmap() 445 vma->vm_flags &= ~VM_MAYWRITE; in hfi1_file_mmap() 523 flags &= ~VM_MAYWRITE; in hfi1_file_mmap() 541 flags &= ~VM_MAYWRITE; in hfi1_file_mmap()
|
/kernel/linux/linux-5.10/fs/ |
D | userfaultfd.c | 1345 if (unlikely(!(cur->vm_flags & VM_MAYWRITE))) in userfaultfd_register() 1361 if ((vm_flags & VM_UFFD_WP) && !(cur->vm_flags & VM_MAYWRITE)) in userfaultfd_register() 1395 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_register() 1562 WARN_ON(!(vma->vm_flags & VM_MAYWRITE)); in userfaultfd_unregister()
|
/kernel/linux/linux-5.10/arch/x86/entry/vdso/ |
D | vma.c | 289 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 272 #define VM_MAYWRITE 0x00000020 macro 386 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 388 VM_MAYWRITE | VM_MAYEXEC) 390 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 3244 vma->vm_flags &= ~(VM_MAYWRITE); in seal_check_future_write()
|
/kernel/linux/linux-5.10/arch/sparc/vdso/ |
D | vma.c | 402 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
|
/kernel/linux/linux-5.10/lib/ |
D | test_printf.c | 591 flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC in flags()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | ringbuf.c | 256 vma->vm_flags &= ~VM_MAYWRITE; in ringbuf_map_mmap()
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | kernel.patch | 31 - if (vma->vm_flags & VM_MAYWRITE) 33 + if (vma->vm_flags & VM_MAYWRITE) { 45 - if (vma->vm_flags & VM_MAYWRITE) 47 + if (vma->vm_flags & VM_MAYWRITE) { 58 if (vma->vm_flags & VM_MAYWRITE)
|