Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/romfs/
Dmmap-nommu.c66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/kernel/linux/linux-5.10/fs/proc/
Dnommu.c56 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
Dtask_nommu.c43 vma->vm_flags & VM_MAYSHARE) { in task_mem()
172 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
Dtask_mmu.c276 seq_putc(m, flags & VM_MAYSHARE ? 's' : 'p'); in show_vma_header_prefix()
663 [ilog2(VM_MAYSHARE)] = "ms", in show_smap_vma_flags()
/kernel/linux/linux-5.10/mm/
Dnommu.c930 vm_flags |= VM_MAYSHARE; in determine_vm_flags()
935 vm_flags |= VM_MAYSHARE | (capabilities & NOMMU_VMFLAGS); in determine_vm_flags()
945 vm_flags &= ~VM_MAYSHARE; in determine_vm_flags()
992 BUG_ON(!(vma->vm_flags & VM_MAYSHARE)); in do_mmap_private()
1133 if (vm_flags & VM_MAYSHARE) { in do_mmap()
1143 if (!(pregion->vm_flags & VM_MAYSHARE)) in do_mmap()
1593 if (vma->vm_flags & VM_MAYSHARE) in do_mremap()
Dhugetlb.c961 if (vma->vm_flags & VM_MAYSHARE) { in vma_resv_map()
976 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_map()
985 VM_BUG_ON_VMA(vma->vm_flags & VM_MAYSHARE, vma); in set_vma_resv_flags()
1001 if (!(vma->vm_flags & VM_MAYSHARE)) in reset_vma_resv_huge_pages()
1018 if (vma->vm_flags & VM_MAYSHARE && chg == 0) in vma_has_reserves()
1025 if (vma->vm_flags & VM_MAYSHARE) { in vma_has_reserves()
2229 if (vma->vm_flags & VM_MAYSHARE) { in __vma_reservation_common()
2242 if (vma->vm_flags & VM_MAYSHARE) in __vma_reservation_common()
4056 vma->vm_flags &= ~VM_MAYSHARE; in __unmap_hugepage_range_final()
4122 if (iter_vma->vm_flags & VM_MAYSHARE) in unmap_ref_private()
[all …]
Dmremap.c494 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize()
613 if (vma->vm_flags & VM_MAYSHARE) in mremap_to()
785 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()
Dmmap.c1543 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
1574 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap()
Dksm.c2453 if (*vm_flags & (VM_MERGEABLE | VM_SHARED | VM_MAYSHARE | in ksm_madvise()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/dax/
Ddevice.c27 if ((vma->vm_flags & VM_MAYSHARE) != VM_MAYSHARE) { in check_vma()
/kernel/linux/linux-5.10/fs/ramfs/
Dfile-nommu.c258 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
/kernel/linux/linux-5.10/include/trace/events/
Dmmflags.h163 {VM_MAYSHARE, "mayshare" }, \
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/
Dheap-helpers.c182 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in dma_heap_mmap()
/kernel/linux/linux-5.10/arch/nios2/mm/
Dcacheflush.c87 if (!(mpnt->vm_flags & VM_MAYSHARE)) in flush_aliases()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsbuslib.c52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
/kernel/linux/linux-5.10/drivers/dma-buf/
Dudmabuf.c46 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c479 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in remove_inode_hugepages()
679 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
/kernel/linux/linux-5.10/drivers/char/
Dmem.c357 return vma->vm_flags & VM_MAYSHARE; in private_mapping_ok()
/kernel/linux/linux-5.10/fs/cramfs/
Dinode.c451 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in cramfs_physmem_mmap()
/kernel/linux/linux-5.10/kernel/events/
Duprobes.c123 vm_flags_t flags = VM_HUGETLB | VM_MAYEXEC | VM_MAYSHARE; in valid_vma()
/kernel/linux/linux-5.10/include/linux/
Dmm.h274 #define VM_MAYSHARE 0x00000080 macro
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c2397 if (vma->vm_flags & VM_MAYSHARE) in fuse_file_mmap()
/kernel/linux/patches/linux-5.10/zhiyuan_patch/
Dkernel.patch846 + if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0)

12