Home
last modified time | relevance | path

Searched refs:VM_MAYSHARE (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_task_vma.c12 #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 Dnommu.c55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
H A Dtask_nommu.c154 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
H A Dtask_mmu.c252 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 Dhugetlb.c404 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 Dmremap.c772 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 Dsecretmem.c127 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
H A Dmadvise.c614 (vma->vm_flags & VM_MAYSHARE))) in madvise_pageout()
H A Dnommu.c883 vm_flags |= VM_SHARED | VM_MAYSHARE | in determine_vm_flags()
H A Dmmap.c1323 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
1354 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
H A Dmemory.c3386 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 Dopen-dice.c93 if (vma->vm_flags & VM_MAYSHARE) { in open_dice_mmap()
/openbmc/linux/arch/arm/mm/
H A Dfault-armv.c160 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
H A Dflush.c263 if (!(vma->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
/openbmc/linux/drivers/dax/
H A Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/openbmc/linux/include/trace/events/
H A Dmmflags.h176 {VM_MAYSHARE, "mayshare" }, \
/openbmc/linux/arch/nios2/mm/
H A Dcacheflush.c90 if (!(vma->vm_flags & VM_MAYSHARE)) in flush_aliases()
/openbmc/linux/drivers/pci/
H A Dp2pdma.c104 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in p2pmem_alloc_mmap()
/openbmc/linux/drivers/video/fbdev/
H A Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/openbmc/linux/drivers/dma-buf/heaps/
H A Dcma_heap.c185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
/openbmc/linux/drivers/dma-buf/
H A Dudmabuf.c55 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/openbmc/linux/include/linux/
H A Dhugetlb.h1266 return (vma->vm_flags & VM_MAYSHARE) && vma->vm_private_data; in __vma_shareable_lock()
H A Dmm.h279 #define VM_MAYSHARE 0x00000080 macro
1608 return flags & (VM_MAYSHARE | VM_MAYOVERLAY); in is_nommu_shared_mapping()
/openbmc/linux/fs/hugetlbfs/
H A Dinode.c870 vm_flags_init(&pseudo_vma, VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/openbmc/linux/fs/fuse/
H A Dfile.c2480 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()

12