Home
last modified time | relevance | path

Searched refs:VM_SHARED (Results 1 – 25 of 80) sorted by relevance

1234

/kernel/linux/linux-5.10/mm/
Duserfaultfd.c214 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()
Dmapping_dirty_helpers.c235 if ((vm_flags & (VM_SHARED | VM_MAYWRITE | VM_HUGETLB)) != in wp_clean_test_walk()
236 (VM_SHARED | VM_MAYWRITE)) in wp_clean_test_walk()
Dmsync.c89 (vma->vm_flags & VM_SHARED)) { in SYSCALL_DEFINE3()
Dmmap.c117 (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 …]
Dmprotect.c70 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()
Dinternal.h429 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()
Dmremap.c494 if (!old_len && !(vma->vm_flags & (VM_SHARED | VM_MAYSHARE))) { in vma_to_resize()
500 vma->vm_flags & VM_SHARED)) in vma_to_resize()
Dmadvise.c857 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()
Dnommu.c937 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/
Dfs_dax.h43 __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",
Dmmflags.h159 {VM_SHARED, "shared" }, \
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dib_core_uverbs.c74 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/
Dvmwgfx_ttm_glue.c52 if ((vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) != VM_MAYWRITE) in vmw_mmap()
Dvmwgfx_page_dirty.c476 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/
Dmmap-nommu.c66 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/kernel/linux/linux-5.10/fs/
Dcoredump.c1000 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/
Dnommu.c56 flags & VM_MAYSHARE ? flags & VM_SHARED ? 'S' : 's' : 'p', in nommu_region_show()
/kernel/linux/linux-5.10/drivers/xen/
Dprivcmd-buf.c140 if (!(vma->vm_flags & VM_SHARED)) in privcmd_buf_mmap()
/kernel/linux/linux-5.10/drivers/char/
Dmspec.c190 if ((vma->vm_flags & VM_SHARED) == 0) in mspec_mmap()
/kernel/linux/linux-5.10/fs/ext2/
Dfile.c97 (vmf->vma->vm_flags & VM_SHARED); in ext2_dax_fault()
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
Dgrufile.c97 if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) != (VM_SHARED | VM_WRITE)) in gru_file_mmap()
/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/arch/powerpc/platforms/cell/spufs/
Dfile.c291 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/
Dheap-helpers.c182 if ((vma->vm_flags & (VM_SHARED | VM_MAYSHARE)) == 0) in dma_heap_mmap()
/kernel/linux/linux-5.10/fs/9p/
Dvfs_file.c519 (vma->vm_flags & VM_SHARED) && in v9fs_mmap_file_mmap()
621 if (!(vma->vm_flags & VM_SHARED)) in v9fs_mmap_vm_close()

1234