Home
last modified time | relevance | path

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

/fs/
Dbinfmt_elf_fdpic.c1225 if (vma->vm_flags & (VM_IO | VM_RESERVED)) { in maydump()
1226 kdcore("%08lx: %08lx: no (IO)", vma->vm_start, vma->vm_flags); in maydump()
1233 if (!(vma->vm_flags & VM_READ)) { in maydump()
1234 kdcore("%08lx: %08lx: no (!read)", vma->vm_start, vma->vm_flags); in maydump()
1239 if (vma->vm_flags & VM_SHARED) { in maydump()
1243 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1249 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1258 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1264 kdcore("%08lx: %08lx: %s", vma->vm_start, vma->vm_flags, in maydump()
1763 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_fdpic_core_dump()
[all …]
Dexec.c257 vma->vm_flags = VM_STACK_FLAGS; in __bprm_mm_init()
258 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in __bprm_mm_init()
582 unsigned long vm_flags; in setup_arg_pages() local
614 vm_flags = VM_STACK_FLAGS; in setup_arg_pages()
622 vm_flags |= VM_EXEC; in setup_arg_pages()
624 vm_flags &= ~VM_EXEC; in setup_arg_pages()
625 vm_flags |= mm->def_flags; in setup_arg_pages()
628 vm_flags); in setup_arg_pages()
Dbinfmt_elf.c1174 if (vma->vm_flags & VM_ALWAYSDUMP) in vma_dump_size()
1178 if (vma->vm_flags & VM_HUGETLB) { in vma_dump_size()
1179 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size()
1181 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size()
1186 if (vma->vm_flags & (VM_IO | VM_RESERVED)) in vma_dump_size()
1190 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
1212 vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { in vma_dump_size()
2008 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_core_dump()
2009 if (vma->vm_flags & VM_WRITE) in elf_core_dump()
2011 if (vma->vm_flags & VM_EXEC) in elf_core_dump()
/fs/ramfs/
Dfile-nommu.c156 if (vma->vm_flags & VM_SHARED) in ramfs_nommu_check_mappings()
302 if (!(vma->vm_flags & VM_SHARED)) in ramfs_nommu_mmap()
/fs/proc/
Dtask_nommu.c38 vma->vm_flags & VM_MAYSHARE) { in task_mem()
129 flags = vma->vm_flags; in nommu_vma_show()
Dnommu.c45 flags = region->vm_flags; in nommu_region_show()
Dtask_mmu.c205 int flags = vma->vm_flags; in show_map_vma()
/fs/ncpfs/
Dmmap.c115 if (vma->vm_flags & VM_SHARED) in ncp_mmap()
/fs/ext4/
Dfile.c139 vma->vm_flags |= VM_CAN_NONLINEAR; in ext4_file_mmap()
/fs/ocfs2/
Dmmap.c221 vma->vm_flags |= VM_CAN_NONLINEAR; in ocfs2_mmap()
/fs/xfs/linux-2.6/
Dxfs_file.c222 vma->vm_flags |= VM_CAN_NONLINEAR; in xfs_file_mmap()
/fs/hugetlbfs/
Dinode.c95 vma->vm_flags |= VM_HUGETLB | VM_RESERVED; in hugetlbfs_file_mmap()
112 vma->vm_flags)) in hugetlbfs_file_mmap()
117 if (vma->vm_flags & VM_WRITE && inode->i_size < len) in hugetlbfs_file_mmap()
/fs/nfs/
Dfile.c310 vma->vm_flags |= VM_CAN_NONLINEAR; in nfs_file_mmap()
/fs/fuse/
Dfile.c1257 if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) { in fuse_file_mmap()