Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.1/fs/romfs/
Dmmap-nommu.c66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/Linux-v6.1/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-v6.1/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()
1600 if (vma->vm_flags & VM_MAYSHARE) in do_mremap()
Dhugetlb.c976 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 …]
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()
1063 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-v6.1/drivers/misc/
Dopen-dice.c99 vma->vm_flags &= ~VM_MAYSHARE; in open_dice_mmap()
/Linux-v6.1/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-v6.1/drivers/dax/
Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/Linux-v6.1/fs/ramfs/
Dfile-nommu.c267 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
/Linux-v6.1/include/trace/events/
Dmmflags.h173 {VM_MAYSHARE, "mayshare" }, \
/Linux-v6.1/arch/nios2/mm/
Dcacheflush.c88 if (!(mpnt->vm_flags & VM_MAYSHARE)) in flush_aliases()
/Linux-v6.1/drivers/video/fbdev/
Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/Linux-v6.1/drivers/dma-buf/heaps/
Dcma_heap.c185 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in cma_heap_mmap()
/Linux-v6.1/drivers/dma-buf/
Dudmabuf.c52 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/Linux-v6.1/drivers/char/
Dmem.c346 return vma->vm_flags & VM_MAYSHARE; in private_mapping_ok()
/Linux-v6.1/fs/cramfs/
Dinode.c440 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in cramfs_physmem_mmap()
/Linux-v6.1/fs/hugetlbfs/
Dinode.c816 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/Linux-v6.1/kernel/events/
Duprobes.c123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()

12