Searched refs:VM_MAYSHARE (Results 1 – 25 of 30) sorted by relevance
12
12 #define VM_MAYSHARE 0x00000080 macro46 perm_str[3] = (vma->vm_flags & VM_MAYSHARE) ? 's' : 'p'; in proc_maps()
55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
154 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
252 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix()654 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
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()1207 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_dup_vma_private()1260 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves()1267 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves()2740 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()2750 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()2763 if (vma->vm_flags & VM_MAYSHARE || mode == VMA_DEL_RESV) in __vma_reservation_common()[all …]
765 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize()867 if (vma->vm_flags & VM_MAYSHARE) in mremap_to()1084 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
127 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
614 (vma->vm_flags & VM_MAYSHARE))) in madvise_pageout()
884 vm_flags |= VM_SHARED | VM_MAYSHARE | in determine_vm_flags()
1316 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()1347 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
3369 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in do_wp_page()4880 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pmd()4918 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pud()
93 if (vma->vm_flags & VM_MAYSHARE) { in open_dice_mmap()
160 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
263 if (!(vma->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
175 {VM_MAYSHARE, "mayshare" }, \
90 if (!(vma->vm_flags & VM_MAYSHARE)) in flush_aliases()
104 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in p2pmem_alloc_mmap()
52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
1265 return (vma->vm_flags & VM_MAYSHARE) && vma->vm_private_data; in __vma_shareable_lock()1270 return (!(vma->vm_flags & VM_MAYSHARE)) && vma->vm_private_data; in __vma_private_lock()
275 #define VM_MAYSHARE 0x00000080 macro1602 return flags & (VM_MAYSHARE | VM_MAYOVERLAY); in is_nommu_shared_mapping()
54 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
859 vm_flags_init(&pseudo_vma, VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
122 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()