/Linux-v5.4/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 | 137 {VM_SHARED, "shared" }, \
|
/Linux-v5.4/mm/ |
D | userfaultfd.c | 180 int vm_alloc_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 181 int vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 243 vm_shared = dst_vma->vm_flags & VM_SHARED; in __mcopy_atomic_hugetlb() 413 if (!(dst_vma->vm_flags & VM_SHARED)) { in mfill_atomic_pte() 499 dst_vma->vm_flags & VM_SHARED)) in __mcopy_atomic() 518 if (!(dst_vma->vm_flags & VM_SHARED) && in __mcopy_atomic()
|
D | mmap.c | 115 (VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]) | in vm_get_page_prot() 135 vm_flags &= ~VM_SHARED; in vma_set_page_prot() 150 if (vma->vm_flags & VM_SHARED) in __remove_shared_vm_struct() 630 if (vma->vm_flags & VM_SHARED) in __vma_link_file() 1518 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1520 vm_flags &= ~(VM_MAYWRITE | VM_SHARED); in do_mmap() 1550 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap() 1679 if ((vm_flags & (VM_WRITE|VM_SHARED)) != ((VM_WRITE|VM_SHARED))) in vma_wants_writenotify() 1718 return (vm_flags & (VM_NORESERVE | VM_SHARED | VM_WRITE)) == VM_WRITE; in accountable_mapping() 1794 if (vm_flags & VM_SHARED) { in mmap_region() [all …]
|
D | msync.c | 89 (vma->vm_flags & VM_SHARED)) { in SYSCALL_DEFINE3()
|
D | internal.h | 257 return (flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in is_cow_mapping() 288 return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE; in is_data_mapping()
|
D | mprotect.c | 64 if (prot_numa && !(vma->vm_flags & VM_SHARED) && in change_pte_range() 383 VM_SHARED|VM_NORESERVE))) { in mprotect_fixup() 434 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()
|
D | memory.c | 766 if (vm_flags & VM_SHARED) in copy_one_pte() 2459 WARN_ON_ONCE(!(vmf->vma->vm_flags & VM_SHARED)); in finish_mkwrite_fault() 2561 if ((vma->vm_flags & (VM_WRITE|VM_SHARED)) == in do_wp_page() 2562 (VM_WRITE|VM_SHARED)) in do_wp_page() 2617 } else if (unlikely((vma->vm_flags & (VM_WRITE|VM_SHARED)) == in do_wp_page() 2618 (VM_WRITE|VM_SHARED))) { in do_wp_page() 2959 if (vma->vm_flags & VM_SHARED) in do_anonymous_page() 3300 if (write && !(vma->vm_flags & VM_SHARED)) { in alloc_set_pte() 3340 !(vmf->vma->vm_flags & VM_SHARED)) in finish_fault() 3349 if (!(vmf->vma->vm_flags & VM_SHARED)) in finish_fault() [all …]
|
D | madvise.c | 96 if (vma->vm_file || vma->vm_flags & VM_SHARED) { in madvise_behavior() 833 if ((vma->vm_flags & (VM_SHARED|VM_WRITE)) != (VM_SHARED|VM_WRITE)) in madvise_remove()
|
D | nommu.c | 962 vm_flags |= VM_SHARED; in determine_vm_flags() 1255 if (file && vma->vm_flags & VM_SHARED) in do_mmap() 1805 if (vma->vm_flags & VM_SHARED) { in nommu_shrink_inode_mappings() 1819 if (!(vma->vm_flags & VM_SHARED)) in nommu_shrink_inode_mappings()
|
/Linux-v5.4/fs/romfs/ |
D | mmap-nommu.c | 66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
|
/Linux-v5.4/fs/proc/ |
D | nommu.c | 57 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
|
D | task_nommu.c | 172 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_vma_show()
|
/Linux-v5.4/drivers/xen/ |
D | privcmd-buf.c | 140 if (!(vma->vm_flags & VM_SHARED)) in privcmd_buf_mmap()
|
D | gntalloc.c | 513 if (!(vma->vm_flags & VM_SHARED)) { in gntalloc_mmap()
|
/Linux-v5.4/drivers/char/ |
D | mspec.c | 191 if ((vma->vm_flags & VM_SHARED) == 0) in mspec_mmap()
|
/Linux-v5.4/fs/ramfs/ |
D | file-nommu.c | 258 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in ramfs_nommu_mmap()
|
/Linux-v5.4/drivers/misc/sgi-gru/ |
D | grufile.c | 96 if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) != (VM_SHARED | VM_WRITE)) in gru_file_mmap()
|
/Linux-v5.4/fs/9p/ |
D | vfs_file.c | 516 (vma->vm_flags & VM_SHARED) && in v9fs_mmap_file_mmap() 618 if (!(vma->vm_flags & VM_SHARED)) in v9fs_mmap_vm_close()
|
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 284 if (!(vma->vm_flags & VM_SHARED)) in spufs_mem_mmap() 374 if (!(vma->vm_flags & VM_SHARED)) in spufs_cntl_mmap() 1054 if (!(vma->vm_flags & VM_SHARED)) in spufs_signal1_mmap() 1192 if (!(vma->vm_flags & VM_SHARED)) in spufs_signal2_mmap() 1315 if (!(vma->vm_flags & VM_SHARED)) in spufs_mss_mmap() 1377 if (!(vma->vm_flags & VM_SHARED)) in spufs_psmap_mmap() 1437 if (!(vma->vm_flags & VM_SHARED)) in spufs_mfc_mmap()
|
/Linux-v5.4/drivers/dma-buf/ |
D | udmabuf.c | 41 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in mmap_udmabuf()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | sbuslib.c | 52 if (!(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) in sbusfb_mmap_helper()
|
/Linux-v5.4/fs/ |
D | binfmt_elf.c | 1315 if ((vma->vm_flags & VM_SHARED) && FILTER(DAX_SHARED)) in vma_dump_size() 1317 if (!(vma->vm_flags & VM_SHARED) && FILTER(DAX_PRIVATE)) in vma_dump_size() 1324 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size() 1326 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size() 1336 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
|
/Linux-v5.4/fs/ext4/ |
D | file.c | 311 (vmf->vma->vm_flags & VM_SHARED); in ext4_dax_huge_fault()
|
/Linux-v5.4/fs/hugetlbfs/ |
D | inode.c | 428 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in remove_inode_hugepages() 617 pseudo_vma.vm_flags = (VM_HUGETLB | VM_MAYSHARE | VM_SHARED); in hugetlbfs_fallocate()
|