Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-6.6.21/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-6.6.21/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()
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()
2747 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
2757 if (vma->vm_flags & VM_MAYSHARE) { 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()
4900 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pmd()
4938 if (vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) { in wp_huge_pud()
/linux-6.6.21/drivers/misc/
Dopen-dice.c93 if (vma->vm_flags & VM_MAYSHARE) { in open_dice_mmap()
/linux-6.6.21/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-6.6.21/drivers/dax/
Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/linux-6.6.21/include/trace/events/
Dmmflags.h175 {VM_MAYSHARE, "mayshare" }, \
/linux-6.6.21/arch/nios2/mm/
Dcacheflush.c90 if (!(vma->vm_flags & VM_MAYSHARE)) in flush_aliases()
/linux-6.6.21/drivers/pci/
Dp2pdma.c104 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in p2pmem_alloc_mmap()
/linux-6.6.21/drivers/video/fbdev/
Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/linux-6.6.21/drivers/dma-buf/heaps/
Dcma_heap.c185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
/linux-6.6.21/drivers/dma-buf/
Dudmabuf.c54 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/linux-6.6.21/include/linux/
Dhugetlb.h1265 return (vma->vm_flags & VM_MAYSHARE) && vma->vm_private_data; in __vma_shareable_lock()
Dmm.h275 #define VM_MAYSHARE 0x00000080 macro
1602 return flags & (VM_MAYSHARE | VM_MAYOVERLAY); in is_nommu_shared_mapping()
/linux-6.6.21/fs/hugetlbfs/
Dinode.c870 vm_flags_init(&pseudo_vma, VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/linux-6.6.21/kernel/events/
Duprobes.c122 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()

12