/kernel/linux/linux-5.10/mm/ |
D | userfaultfd.c | 214 int vm_alloc_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 215 int vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 265 vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 437 if (!(dst_vma->vm_flags & VM_SHARED)) { in mfill_atomic_pte() 516 dst_vma->vm_flags & VM_SHARED)) in __mcopy_atomic() 543 if (!(dst_vma->vm_flags & VM_SHARED) && in __mcopy_atomic() 675 if (!dst_vma || (dst_vma->vm_flags & VM_SHARED)) in mwriteprotect_range()
|
D | mapping_dirty_helpers.c | 235 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk() 236 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
|
D | msync.c | 89 (vma->vm_flags & VM_SHARED)) { in SYSCALL_DEFINE3()
|
D | mmap.c | 117 (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]) | in vm_get_page_prot() 137 vm_flags &= ~VM_SHARED; in vma_set_page_prot() 152 if (vma->vm_flags & VM_SHARED) in __remove_shared_vm_struct() 672 if (vma->vm_flags & VM_SHARED) in __vma_link_file() 1541 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1543 vm_flags &= ~(VM_MAYWRITE | VM_SHARED); in do_mmap() 1572 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1710 if ((vm_flags & (VM_WRITE|VM_SHARED)) != ((VM_WRITE|VM_SHARED))) in vma_wants_writenotify() 1753 return (vm_flags & (VM_NORESERVE | VM_SHARED | VM_WRITE)) == VM_WRITE; in accountable_mapping() 1825 if (vm_flags & VM_SHARED) { in mmap_region() [all …]
|
D | mprotect.c | 70 if (prot_numa && !(vma->vm_flags & VM_SHARED) && in change_pte_range() 452 VM_SHARED|VM_NORESERVE))) { in mprotect_fixup() 503 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()
|
D | internal.h | 429 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping() 460 return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; in is_data_mapping()
|
D | mremap.c | 494 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize() 500 vma->vm_flags & VM_SHARED)) in vma_to_resize()
|
D | madvise.c | 857 if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE)) in madvise_remove() 927 if (vma->vm_file || vma->vm_flags & VM_SHARED) in madvise_vma_behavior()
|
D | nommu.c | 937 vm_flags |= VM_SHARED; in determine_vm_flags() 1230 if (file && vma->vm_flags & VM_SHARED) in do_mmap() 1780 if (vma->vm_flags & VM_SHARED) { in nommu_shrink_inode_mappings() 1794 if (!(vma->vm_flags & VM_SHARED)) in nommu_shrink_inode_mappings()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | fs_dax.h | 43 __entry->vm_flags & VM_SHARED ? "shared" : "private", 89 __entry->vm_flags & VM_SHARED ? "shared" : "private", 134 __entry->vm_flags & VM_SHARED ? "shared" : "private", 178 __entry->vm_flags & VM_SHARED ? "shared" : "private", 220 __entry->vm_flags & VM_SHARED ? "shared" : "private",
|
D | mmflags.h | 159 {VM_SHARED, "shared" }, \
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | ib_core_uverbs.c | 74 if (!(vma->vm_flags & VM_SHARED)) in rdma_user_mmap_io() 166 if (!(vma->vm_flags & VM_SHARED)) in rdma_user_mmap_entry_get()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 52 if ((vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) != VM_MAYWRITE) in vmw_mmap()
|
D | vmwgfx_page_dirty.c | 476 prot = vm_get_page_prot(vma->vm_flags & ~VM_SHARED); in vmw_bo_vm_fault() 504 (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in vmw_bo_vm_huge_fault() 546 prot = vm_get_page_prot(vma->vm_flags & ~VM_SHARED); in vmw_bo_vm_huge_fault()
|
/kernel/linux/linux-5.10/fs/romfs/ |
D | mmap-nommu.c | 66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
|
/kernel/linux/linux-5.10/fs/ |
D | coredump.c | 1000 if ((vma->vm_flags & VM_SHARED) && FILTER(DAX_SHARED)) in vma_dump_size() 1002 if (!(vma->vm_flags & VM_SHARED) && FILTER(DAX_PRIVATE)) in vma_dump_size() 1009 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size() 1011 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size() 1021 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | nommu.c | 56 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | privcmd-buf.c | 140 if (!(vma->vm_flags & VM_SHARED)) in privcmd_buf_mmap()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | mspec.c | 190 if ((vma->vm_flags & VM_SHARED) == 0) in mspec_mmap()
|
/kernel/linux/linux-5.10/fs/ext2/ |
D | file.c | 97 (vmf->vma->vm_flags & VM_SHARED); in ext2_dax_fault()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grufile.c | 97 if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) != (VM_SHARED | VM_WRITE)) in gru_file_mmap()
|
/kernel/linux/linux-5.10/fs/ramfs/ |
D | file-nommu.c | 258 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 291 if (!(vma->vm_flags & VM_SHARED)) in spufs_mem_mmap() 381 if (!(vma->vm_flags & VM_SHARED)) in spufs_cntl_mmap() 1043 if (!(vma->vm_flags & VM_SHARED)) in spufs_signal1_mmap() 1179 if (!(vma->vm_flags & VM_SHARED)) in spufs_signal2_mmap() 1302 if (!(vma->vm_flags & VM_SHARED)) in spufs_mss_mmap() 1364 if (!(vma->vm_flags & VM_SHARED)) in spufs_psmap_mmap() 1424 if (!(vma->vm_flags & VM_SHARED)) in spufs_mfc_mmap()
|
/kernel/linux/linux-5.10/drivers/dma-buf/heaps/ |
D | heap-helpers.c | 182 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in dma_heap_mmap()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_file.c | 519 (vma->vm_flags & VM_SHARED) && in v9fs_mmap_file_mmap() 621 if (!(vma->vm_flags & VM_SHARED)) in v9fs_mmap_vm_close()
|