Home
last modified time | relevance | path

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

/fs/
Dexec.c268 vma->vm_flags = VM_STACK_FLAGS | VM_STACK_INCOMPLETE_SETUP; in __bprm_mm_init()
269 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in __bprm_mm_init()
650 unsigned long vm_flags; in setup_arg_pages() local
690 vm_flags = VM_STACK_FLAGS; in setup_arg_pages()
698 vm_flags |= VM_EXEC; in setup_arg_pages()
700 vm_flags &= ~VM_EXEC; in setup_arg_pages()
701 vm_flags |= mm->def_flags; in setup_arg_pages()
702 vm_flags |= VM_STACK_INCOMPLETE_SETUP; in setup_arg_pages()
705 vm_flags); in setup_arg_pages()
718 vma->vm_flags &= ~VM_STACK_INCOMPLETE_SETUP; in setup_arg_pages()
Dbinfmt_elf_fdpic.c1204 if (vma->vm_flags & VM_IO) { in maydump()
1205 kdcore("%08lx: %08lx: no (IO)", vma->vm_start, vma->vm_flags); in maydump()
1212 if (!(vma->vm_flags & VM_READ)) { in maydump()
1213 kdcore("%08lx: %08lx: no (!read)", vma->vm_start, vma->vm_flags); in maydump()
1218 if (vma->vm_flags & VM_SHARED) { in maydump()
1222 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1228 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1237 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1243 kdcore("%08lx: %08lx: %s", vma->vm_start, vma->vm_flags, in maydump()
1781 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_fdpic_core_dump()
[all …]
Dbinfmt_elf.c1249 if (vma->vm_flags & VM_DONTDUMP) in vma_dump_size()
1253 if (vma->vm_flags & VM_HUGETLB) { in vma_dump_size()
1254 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size()
1256 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size()
1262 if (vma->vm_flags & VM_IO) in vma_dump_size()
1266 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
1288 vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { in vma_dump_size()
2270 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_core_dump()
2271 if (vma->vm_flags & VM_WRITE) in elf_core_dump()
2273 if (vma->vm_flags & VM_EXEC) in elf_core_dump()
/fs/romfs/
Dmmap-nommu.c70 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/fs/proc/
Dtask_nommu.c40 vma->vm_flags & VM_MAYSHARE) { in task_mem()
148 flags = vma->vm_flags; in nommu_vma_show()
Dnommu.c44 flags = region->vm_flags; in nommu_region_show()
Dtask_mmu.c315 vm_flags_t flags = vma->vm_flags; in show_map_vma()
636 if (vma->vm_flags & (1UL << i)) { in show_smap_vma_flags()
694 (vma->vm_flags & VM_LOCKED) ? in show_smap()
697 if (vma->vm_flags & VM_NONLINEAR) in show_smap()
/fs/ncpfs/
Dmmap.c116 if (vma->vm_flags & VM_SHARED) in ncp_mmap()
/fs/sdcardfs/
Dfile.c168 willwrite = ((vma->vm_flags | VM_SHARED | VM_WRITE) == vma->vm_flags); in sdcardfs_mmap()
/fs/ramfs/
Dfile-nommu.c261 if (!(vma->vm_flags & VM_SHARED)) in ramfs_nommu_mmap()
/fs/hugetlbfs/
Dinode.c113 vma->vm_flags |= VM_HUGETLB | VM_DONTEXPAND; in hugetlbfs_file_mmap()
130 vma->vm_flags)) in hugetlbfs_file_mmap()
135 if (vma->vm_flags & VM_WRITE && inode->i_size < len) in hugetlbfs_file_mmap()
/fs/fuse/
Dfile.c1618 if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) { in fuse_file_mmap()
1640 if (vma->vm_flags & VM_MAYSHARE) in fuse_direct_mmap()