/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_task_vma.c | 12 #define VM_MAYSHARE 0x00000080 macro 46 perm_str[3] = (vma->vm_flags & VM_MAYSHARE) ? 's' : 'p'; in proc_maps()
|
/openbmc/linux/fs/proc/ |
H A D | nommu.c | 55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
|
H A D | task_nommu.c | 154 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
|
H A D | task_mmu.c | 252 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix() 654 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
|
/openbmc/linux/mm/ |
H A D | hugetlb.c | 404 if (!vma || !(vma->vm_flags & VM_MAYSHARE)) in hugetlb_vma_lock_alloc() 1157 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map() 1172 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map() 1180 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags() 1194 return !(vma->vm_flags & VM_MAYSHARE) && in __vma_private_lock() 1214 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_dup_vma_private() 1267 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves() 1274 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves() 2756 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common() 2766 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common() [all …]
|
H A D | mremap.c | 772 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize() 874 if (vma->vm_flags & VM_MAYSHARE) in mremap_to() 1091 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
|
H A D | secretmem.c | 127 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
|
H A D | madvise.c | 614 (vma->vm_flags & VM_MAYSHARE))) in madvise_pageout()
|
H A D | nommu.c | 883 vm_flags |= VM_SHARED | VM_MAYSHARE | in determine_vm_flags()
|
H A D | mmap.c | 1323 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1354 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
|
H A D | memory.c | 3386 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in do_wp_page() 4925 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pmd() 4963 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pud()
|
/openbmc/linux/drivers/misc/ |
H A D | open-dice.c | 93 if (vma->vm_flags & VM_MAYSHARE) { in open_dice_mmap()
|
/openbmc/linux/arch/arm/mm/ |
H A D | fault-armv.c | 160 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
|
H A D | flush.c | 263 if (!(vma->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
|
/openbmc/linux/drivers/dax/ |
H A D | device.c | 27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
|
/openbmc/linux/include/trace/events/ |
H A D | mmflags.h | 176 {VM_MAYSHARE, "mayshare" }, \
|
/openbmc/linux/arch/nios2/mm/ |
H A D | cacheflush.c | 90 if (!(vma->vm_flags & VM_MAYSHARE)) in flush_aliases()
|
/openbmc/linux/drivers/pci/ |
H A D | p2pdma.c | 104 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in p2pmem_alloc_mmap()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | sbuslib.c | 52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
|
/openbmc/linux/drivers/dma-buf/heaps/ |
H A D | cma_heap.c | 185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
|
/openbmc/linux/drivers/dma-buf/ |
H A D | udmabuf.c | 55 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
|
/openbmc/linux/include/linux/ |
H A D | hugetlb.h | 1266 return (vma->vm_flags & VM_MAYSHARE) && vma->vm_private_data; in __vma_shareable_lock()
|
H A D | mm.h | 279 #define VM_MAYSHARE 0x00000080 macro 1608 return flags & (VM_MAYSHARE | VM_MAYOVERLAY); in is_nommu_shared_mapping()
|
/openbmc/linux/fs/hugetlbfs/ |
H A D | inode.c | 870 vm_flags_init(&pseudo_vma, VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 2480 if ((vma->vm_flags & VM_MAYSHARE) && !fc->direct_io_allow_mmap) in fuse_file_mmap() 2485 if (!(vma->vm_flags & VM_MAYSHARE)) { in fuse_file_mmap()
|