Searched refs:VM_SHARED (Results 1 – 14 of 14) sorted by relevance
141 can_vma_merge(prev, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()158 can_vma_merge(next, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()167 can_vma_merge(prev, vma->vm_flags) && !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in move_vma()326 if ((vma->vm_flags & (VM_SHARED | VM_WRITE)) == VM_WRITE && in do_mremap()365 if (vma->vm_flags & VM_SHARED) in do_mremap()
101 !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in mprotect_fixup_all()132 !vma->vm_file && !(vma->vm_flags & VM_SHARED)) { in mprotect_fixup_start()325 !prev->vm_file && !(prev->vm_flags & VM_SHARED)) { in sys_mprotect()
321 if (vma->vm_flags & VM_SHARED) in __vma_link_file()465 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap_pgoff()467 vm_flags &= ~(VM_MAYWRITE | VM_SHARED); in do_mmap_pgoff()479 vm_flags |= VM_SHARED | VM_MAYSHARE; in do_mmap_pgoff()484 vm_flags &= ~(VM_SHARED | VM_MAYSHARE); in do_mmap_pgoff()506 if ((vm_flags & (VM_SHARED | VM_WRITE)) == VM_WRITE && in do_mmap_pgoff()512 if (!file && !(vm_flags & VM_SHARED) && rb_parent) in do_mmap_pgoff()
182 unsigned long cow = (vma->vm_flags & (VM_SHARED | VM_MAYWRITE)) == VM_MAYWRITE; in copy_page_range()256 if (vma->vm_flags & VM_SHARED) in copy_page_range()1271 if (write_access && !(vma->vm_flags & VM_SHARED)) { in do_no_page()
2322 if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) { in generic_file_mmap()2355 if (file && (vma->vm_flags & VM_SHARED)) { in msync_interval()
105 if (vma->vm_flags & VM_SHARED) in ncp_mmap()
398 if (vma->vm_flags & VM_SHARED) in read_zero_pagealigned()474 if (vma->vm_flags & VM_SHARED) in mmap_zero()
313 if (vma->vm_flags & VM_SHARED) in sparc_mremap()
83 #define VM_SHARED 0x00000008 macro
366 if (vma->vm_flags & VM_SHARED) in sys64_mremap()
4456 if (vma->vm_flags & VM_SHARED) in sys32_mremap()
177 prot_bits |= VM_SHARED; in agp_convert_mmap_flags()
988 if (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED)) in maydump()
1070 if (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED)) in maydump()