Home
last modified time | relevance | path

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

/linux-2.4.37.9/mm/
Dmremap.c141 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()
Dmprotect.c101 !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()
Dmmap.c321 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()
Dmemory.c182 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()
Dfilemap.c2322 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()
/linux-2.4.37.9/fs/ncpfs/
Dmmap.c105 if (vma->vm_flags & VM_SHARED) in ncp_mmap()
/linux-2.4.37.9/drivers/char/
Dmem.c398 if (vma->vm_flags & VM_SHARED) in read_zero_pagealigned()
474 if (vma->vm_flags & VM_SHARED) in mmap_zero()
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sparc.c313 if (vma->vm_flags & VM_SHARED) in sparc_mremap()
/linux-2.4.37.9/include/linux/
Dmm.h83 #define VM_SHARED 0x00000008 macro
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc.c366 if (vma->vm_flags & VM_SHARED) in sys64_mremap()
Dsys_sparc32.c4456 if (vma->vm_flags & VM_SHARED) in sys32_mremap()
/linux-2.4.37.9/drivers/char/agp/
Dagpgart_fe.c177 prot_bits |= VM_SHARED; in agp_convert_mmap_flags()
/linux-2.4.37.9/arch/mips/kernel/
Dirixelf.c988 if (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED)) in maydump()
/linux-2.4.37.9/fs/
Dbinfmt_elf.c1070 if (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED)) in maydump()