Searched refs:VM_MAYSHARE (Results 1 – 25 of 31) sorted by relevance
12
12 #define VM_MAYSHARE 0x00000080 macro46 perm_str[3] = (vma->vm_flags & VM_MAYSHARE) ? 's' : 'p'; in proc_maps()
66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
41 vma->vm_flags & VM_MAYSHARE) { in task_mem()167 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
266 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix()661 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
901 vm_flags |= VM_MAYSHARE; in determine_vm_flags()906 vm_flags |= VM_MAYSHARE | (capabilities & NOMMU_VMFLAGS); in determine_vm_flags()916 vm_flags &= ~VM_MAYSHARE; in determine_vm_flags()963 BUG_ON(!(vma->vm_flags & VM_MAYSHARE)); in do_mmap_private()1109 if (vm_flags & VM_MAYSHARE) { in do_mmap()1119 if (!(pregion->vm_flags & VM_MAYSHARE)) in do_mmap()1600 if (vma->vm_flags & VM_MAYSHARE) in do_mremap()
976 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map()991 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map()1000 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags()1027 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_dup_vma_private()1080 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves()1087 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves()2569 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()2579 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()2592 if (vma->vm_flags & VM_MAYSHARE || mode == VMA_DEL_RESV) in __vma_reservation_common()2721 if (!(vma->vm_flags & VM_MAYSHARE)) in restore_reserve_on_error()[all …]
746 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize()848 if (vma->vm_flags & VM_MAYSHARE) in mremap_to()1063 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
125 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
1353 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()1384 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
2452 if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE | in ksm_madvise()
99 vma->vm_flags &= ~VM_MAYSHARE; in open_dice_mmap()
158 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
260 if (!(mpnt->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
267 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
173 {VM_MAYSHARE, "mayshare" }, \
88 if (!(mpnt->vm_flags & VM_MAYSHARE)) in flush_aliases()
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()
52 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
346 return vma->vm_flags & VM_MAYSHARE; in private_mapping_ok()
440 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in cramfs_physmem_mmap()
816 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()