/Linux-v5.10/mm/ |
D | userfaultfd.c | 212 int vm_alloc_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 213 int vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 263 vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 435 if (!(dst_vma->vm_flags & VM_SHARED)) { in mfill_atomic_pte() 514 dst_vma->vm_flags & VM_SHARED)) in __mcopy_atomic() 541 if (!(dst_vma->vm_flags & VM_SHARED) && in __mcopy_atomic() 672 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 | mmap.c | 112 (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]) | in vm_get_page_prot() 132 vm_flags &= ~VM_SHARED; in vma_set_page_prot() 147 if (vma->vm_flags & VM_SHARED) in __remove_shared_vm_struct() 667 if (vma->vm_flags & VM_SHARED) in __vma_link_file() 1525 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1527 vm_flags &= ~(VM_MAYWRITE | VM_SHARED); in do_mmap() 1556 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1684 if ((vm_flags & (VM_WRITE|VM_SHARED)) != ((VM_WRITE|VM_SHARED))) in vma_wants_writenotify() 1723 return (vm_flags & (VM_NORESERVE | VM_SHARED | VM_WRITE)) == VM_WRITE; in accountable_mapping() 1795 if (vm_flags & VM_SHARED) { in mmap_region() [all …]
|
D | msync.c | 89 (vma->vm_flags & VM_SHARED)) { in SYSCALL_DEFINE3()
|
D | mprotect.c | 68 if (prot_numa && !(vma->vm_flags & VM_SHARED) && in change_pte_range() 443 VM_SHARED|VM_NORESERVE))) { in mprotect_fixup() 494 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()
|
D | internal.h | 296 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping() 327 return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; in is_data_mapping()
|
D | madvise.c | 98 if (vma->vm_file || vma->vm_flags & VM_SHARED) { in madvise_behavior() 848 if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE)) in madvise_remove()
|
D | memory.c | 887 if (vm_flags & VM_SHARED) in copy_present_pte() 2982 WARN_ON_ONCE(!(vmf->vma->vm_flags & VM_SHARED)); in finish_mkwrite_fault() 3091 if ((vma->vm_flags & (VM_WRITE|VM_SHARED)) == in do_wp_page() 3092 (VM_WRITE|VM_SHARED)) in do_wp_page() 3123 } else if (unlikely((vma->vm_flags & (VM_WRITE|VM_SHARED)) == in do_wp_page() 3124 (VM_WRITE|VM_SHARED))) { in do_wp_page() 3477 if (vma->vm_flags & VM_SHARED) in do_anonymous_page() 3818 if (write && !(vma->vm_flags & VM_SHARED)) { in alloc_set_pte() 3857 !(vmf->vma->vm_flags & VM_SHARED)) in finish_fault() 3866 if (!(vmf->vma->vm_flags & VM_SHARED)) in finish_fault() [all …]
|
D | mremap.c | 493 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize() 499 vma->vm_flags & VM_SHARED)) in vma_to_resize()
|
/Linux-v5.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 | 144 {VM_SHARED, "shared" }, \
|
/Linux-v5.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()
|
/Linux-v5.10/fs/ |
D | coredump.c | 989 if ((vma->vm_flags & VM_SHARED) && FILTER(DAX_SHARED)) in vma_dump_size() 991 if (!(vma->vm_flags & VM_SHARED) && FILTER(DAX_PRIVATE)) in vma_dump_size() 998 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size() 1000 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size() 1010 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
|
/Linux-v5.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()
|
/Linux-v5.10/fs/romfs/ |
D | mmap-nommu.c | 66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
|
/Linux-v5.10/fs/proc/ |
D | nommu.c | 56 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
|
/Linux-v5.10/drivers/xen/ |
D | privcmd-buf.c | 140 if (!(vma->vm_flags & VM_SHARED)) in privcmd_buf_mmap()
|
/Linux-v5.10/drivers/char/ |
D | mspec.c | 190 if ((vma->vm_flags & VM_SHARED) == 0) in mspec_mmap()
|
/Linux-v5.10/fs/ext2/ |
D | file.c | 97 (vmf->vma->vm_flags & VM_SHARED); in ext2_dax_fault()
|
/Linux-v5.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()
|
/Linux-v5.10/fs/ramfs/ |
D | file-nommu.c | 258 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
|
/Linux-v5.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()
|
/Linux-v5.10/drivers/dma-buf/heaps/ |
D | heap-helpers.c | 181 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in dma_heap_mmap()
|
/Linux-v5.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()
|