Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/fs/romfs/
Dmmap-nommu.c66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/linux-6.1.9/fs/proc/
Dtask_nommu.c41 vma->vm_flags & VM_MAYSHARE) { in task_mem()
167 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
Dnommu.c55 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
Dtask_mmu.c266 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix()
661 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
/linux-6.1.9/mm/
Dnommu.c901 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()
1603 if (vma->vm_flags & VM_MAYSHARE) in do_mremap()
Dhugetlb.c265 return vma->vm_flags & (VM_MAYSHARE | VM_SHARED) && in __vma_shareable_lock()
377 if (!vma || !(vma->vm_flags & VM_MAYSHARE)) in hugetlb_vma_lock_alloc()
1124 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map()
1139 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map()
1148 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags()
1175 if (vma->vm_flags & VM_MAYSHARE) { in hugetlb_dup_vma_private()
1228 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves()
1235 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves()
2717 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
2727 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
[all …]
Dmremap.c746 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize()
848 if (vma->vm_flags & VM_MAYSHARE) in mremap_to()
1064 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
Dsecretmem.c125 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in secretmem_mmap()
Dmmap.c1353 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
1384 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
Dksm.c2452 if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE | in ksm_madvise()
/linux-6.1.9/drivers/misc/
Dopen-dice.c99 vma->vm_flags &= ~VM_MAYSHARE; in open_dice_mmap()
/linux-6.1.9/arch/arm/mm/
Dfault-armv.c158 if (!(mpnt->vm_flags & VM_MAYSHARE)) in make_coherent()
Dflush.c260 if (!(mpnt->vm_flags & VM_MAYSHARE)) in __flush_dcache_aliases()
/linux-6.1.9/drivers/dax/
Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/linux-6.1.9/fs/ramfs/
Dfile-nommu.c267 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
/linux-6.1.9/include/trace/events/
Dmmflags.h173 {VM_MAYSHARE, "mayshare" }, \
/linux-6.1.9/arch/nios2/mm/
Dcacheflush.c88 if (!(mpnt->vm_flags & VM_MAYSHARE)) in flush_aliases()
/linux-6.1.9/drivers/video/fbdev/
Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/linux-6.1.9/drivers/dma-buf/heaps/
Dcma_heap.c185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
/linux-6.1.9/drivers/dma-buf/
Dudmabuf.c52 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/linux-6.1.9/drivers/char/
Dmem.c346 return vma->vm_flags & VM_MAYSHARE; in private_mapping_ok()
/linux-6.1.9/fs/cramfs/
Dinode.c440 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in cramfs_physmem_mmap()
/linux-6.1.9/fs/hugetlbfs/
Dinode.c816 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/linux-6.1.9/kernel/events/
Duprobes.c123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()

12