Searched refs:vm_flags (Results 1 – 14 of 14) sorted by relevance
/fs/ |
D | binfmt_elf_fdpic.c | 1225 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 …]
|
D | exec.c | 257 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()
|
D | binfmt_elf.c | 1174 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/ |
D | file-nommu.c | 156 if (vma->vm_flags & VM_SHARED) in ramfs_nommu_check_mappings() 302 if (!(vma->vm_flags & VM_SHARED)) in ramfs_nommu_mmap()
|
/fs/proc/ |
D | task_nommu.c | 38 vma->vm_flags & VM_MAYSHARE) { in task_mem() 129 flags = vma->vm_flags; in nommu_vma_show()
|
D | nommu.c | 45 flags = region->vm_flags; in nommu_region_show()
|
D | task_mmu.c | 205 int flags = vma->vm_flags; in show_map_vma()
|
/fs/ncpfs/ |
D | mmap.c | 115 if (vma->vm_flags & VM_SHARED) in ncp_mmap()
|
/fs/ext4/ |
D | file.c | 139 vma->vm_flags |= VM_CAN_NONLINEAR; in ext4_file_mmap()
|
/fs/ocfs2/ |
D | mmap.c | 221 vma->vm_flags |= VM_CAN_NONLINEAR; in ocfs2_mmap()
|
/fs/xfs/linux-2.6/ |
D | xfs_file.c | 222 vma->vm_flags |= VM_CAN_NONLINEAR; in xfs_file_mmap()
|
/fs/hugetlbfs/ |
D | inode.c | 95 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/ |
D | file.c | 310 vma->vm_flags |= VM_CAN_NONLINEAR; in nfs_file_mmap()
|
/fs/fuse/ |
D | file.c | 1257 if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) { in fuse_file_mmap()
|