Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_vma.c12 #define VM_MAYSHARE 0x00000080 macro
46 perm_str[3] = (vma->vm_flags & VM_MAYSHARE) ? 's' : 'p'; in proc_maps()
/Linux-v6.6/fs/proc/
Dnommu.c55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
Dtask_nommu.c154 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
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()
/Linux-v6.6/mm/
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()
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 …]
Dmremap.c765 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()
Dsecretmem.c127 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
Dmadvise.c614 (vma->vm_flags & VM_MAYSHARE))) in madvise_pageout()
Dnommu.c884 vm_flags |= VM_SHARED | VM_MAYSHARE | in determine_vm_flags()
Dmmap.c1316 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
1347 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
Dmemory.c3369 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()
/Linux-v6.6/drivers/misc/
Dopen-dice.c93 if (vma->vm_flags & VM_MAYSHARE) { in open_dice_mmap()
/Linux-v6.6/arch/arm/mm/
Dfault-armv.c160 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
Dflush.c263 if (!(vma->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
/Linux-v6.6/drivers/dax/
Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/Linux-v6.6/include/trace/events/
Dmmflags.h175 {VM_MAYSHARE, "mayshare" }, \
/Linux-v6.6/arch/nios2/mm/
Dcacheflush.c90 if (!(vma->vm_flags & VM_MAYSHARE)) in flush_aliases()
/Linux-v6.6/drivers/pci/
Dp2pdma.c104 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in p2pmem_alloc_mmap()
/Linux-v6.6/drivers/video/fbdev/
Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/Linux-v6.6/drivers/dma-buf/heaps/
Dcma_heap.c185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
/Linux-v6.6/include/linux/
Dhugetlb.h1265 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()
Dmm.h275 #define VM_MAYSHARE 0x00000080 macro
1602 return flags & (VM_MAYSHARE | VM_MAYOVERLAY); in is_nommu_shared_mapping()
/Linux-v6.6/drivers/dma-buf/
Dudmabuf.c54 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/Linux-v6.6/fs/hugetlbfs/
Dinode.c859 vm_flags_init(&pseudo_vma, VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/Linux-v6.6/kernel/events/
Duprobes.c122 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()

12