/kernel/linux/linux-5.10/fs/romfs/ |
D | mmap-nommu.c | 66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | nommu.c | 56 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
|
D | task_nommu.c | 43 vma->vm_flags & VM_MAYSHARE) { in task_mem() 172 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
|
D | task_mmu.c | 276 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix() 663 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
|
/kernel/linux/linux-5.10/mm/ |
D | nommu.c | 930 vm_flags |= VM_MAYSHARE; in determine_vm_flags() 935 vm_flags |= VM_MAYSHARE | (capabilities & NOMMU_VMFLAGS); in determine_vm_flags() 945 vm_flags &= ~VM_MAYSHARE; in determine_vm_flags() 992 BUG_ON(!(vma->vm_flags & VM_MAYSHARE)); in do_mmap_private() 1133 if (vm_flags & VM_MAYSHARE) { in do_mmap() 1143 if (!(pregion->vm_flags & VM_MAYSHARE)) in do_mmap() 1593 if (vma->vm_flags & VM_MAYSHARE) in do_mremap()
|
D | hugetlb.c | 961 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map() 976 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map() 985 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags() 1001 if (!(vma->vm_flags & VM_MAYSHARE)) in reset_vma_resv_huge_pages() 1018 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves() 1025 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves() 2229 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common() 2242 if (vma->vm_flags & VM_MAYSHARE) in __vma_reservation_common() 4056 vma->vm_flags &= ~VM_MAYSHARE; in __unmap_hugepage_range_final() 4122 if (iter_vma->vm_flags & VM_MAYSHARE) in unmap_ref_private() [all …]
|
D | mremap.c | 494 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize() 613 if (vma->vm_flags & VM_MAYSHARE) in mremap_to() 785 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
|
D | mmap.c | 1543 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1574 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
|
D | ksm.c | 2453 if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE | in ksm_madvise()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | fault-armv.c | 158 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
|
D | flush.c | 260 if (!(mpnt->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
|
/kernel/linux/linux-5.10/drivers/dax/ |
D | device.c | 27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
|
/kernel/linux/linux-5.10/fs/ramfs/ |
D | file-nommu.c | 258 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | mmflags.h | 163 {VM_MAYSHARE, "mayshare" }, \
|
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
D | heap-helpers.c | 182 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in dma_heap_mmap()
|
/kernel/linux/linux-5.10/arch/nios2/mm/ |
D | cacheflush.c | 87 if (!(mpnt->vm_flags & VM_MAYSHARE)) in flush_aliases()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | sbuslib.c | 52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
D | udmabuf.c | 46 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
|
/kernel/linux/linux-5.10/fs/hugetlbfs/ |
D | inode.c | 479 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in remove_inode_hugepages() 679 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | mem.c | 357 return vma->vm_flags & VM_MAYSHARE; in private_mapping_ok()
|
/kernel/linux/linux-5.10/fs/cramfs/ |
D | inode.c | 451 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in cramfs_physmem_mmap()
|
/kernel/linux/linux-5.10/kernel/events/ |
D | uprobes.c | 123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mm.h | 274 #define VM_MAYSHARE 0x00000080 macro
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | file.c | 2397 if (vma->vm_flags & VM_MAYSHARE) in fuse_file_mmap()
|
/kernel/linux/patches/linux-5.10/zhiyuan_patch/ |
D | kernel.patch | 846 + if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0)
|