Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_glue.c52 if ((vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) != VM_MAYWRITE) in vmw_mmap()
Dvmwgfx_page_dirty.c504 (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in vmw_bo_vm_huge_fault()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dvdso.c104 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/
Dvma.c66 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/mm/
Dmapping_dirty_helpers.c235 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk()
236 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
Dinternal.h426 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping()
/kernel/linux/linux-5.10/arch/sh/kernel/vsyscall/
Dvsyscall.c75 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/arch/hexagon/kernel/
Dvdso.c70 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dvdso.c65 VM_READ|VM_EXEC|VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dvdso.c86 (VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC), in arch_setup_additional_pages()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dvdso.c267 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/
Dvdso.c209 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h153 {VM_MAYWRITE, "maywrite" }, \
/kernel/linux/linux-5.10/arch/arm/kernel/
Dvdso.c263 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arm_install_vdso()
Dprocess.c428 VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dvdso.c181 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC, in arch_setup_additional_pages()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vm.c484 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/
Dfile_ops.c412 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/
Duserfaultfd.c1345 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/
Dvma.c289 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/kernel/linux/linux-5.10/include/linux/
Dmm.h272 #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/
Dvma.c402 VM_MAYREAD|VM_MAYWRITE|VM_MAYEXEC, in map_vdso()
/kernel/linux/linux-5.10/lib/
Dtest_printf.c591 flags = VM_READ | VM_EXEC | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC in flags()
/kernel/linux/linux-5.10/kernel/bpf/
Dringbuf.c256 vma->vm_flags &= ~VM_MAYWRITE; in ringbuf_map_mmap()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch31 - 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)

12