Home
last modified time | relevance | path

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

123

/linux-4.19.296/include/trace/events/
Dfs_dax.h18 __field(unsigned long, vm_flags)
31 __entry->vm_flags = vmf->vma->vm_flags;
43 __entry->vm_flags & VM_SHARED ? "shared" : "private",
70 __field(unsigned long, vm_flags)
79 __entry->vm_flags = vmf->vma->vm_flags;
89 __entry->vm_flags & VM_SHARED ? "shared" : "private",
111 __field(unsigned long, vm_flags)
122 __entry->vm_flags = vmf->vma->vm_flags;
134 __entry->vm_flags & VM_SHARED ? "shared" : "private",
158 __field(unsigned long, vm_flags)
[all …]
/linux-4.19.296/include/linux/
Dkhugepaged.h17 unsigned long vm_flags);
48 unsigned long vm_flags) in khugepaged_enter() argument
52 (khugepaged_req_madv() && (vm_flags & VM_HUGEPAGE))) && in khugepaged_enter()
53 !(vm_flags & VM_NOHUGEPAGE) && in khugepaged_enter()
68 unsigned long vm_flags) in khugepaged_enter() argument
73 unsigned long vm_flags) in khugepaged_enter_vma_merge() argument
Dksm.h23 unsigned long end, int advice, unsigned long *vm_flags);
70 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
Drmap.h200 struct mem_cgroup *memcg, unsigned long *vm_flags);
291 unsigned long *vm_flags) in page_referenced() argument
293 *vm_flags = 0; in page_referenced()
Duserfaultfd_k.h50 return vma->vm_flags & VM_UFFD_MISSING; in userfaultfd_missing()
55 return vma->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_armed()
Dhuge_mm.h100 if (vma->vm_flags & VM_NOHUGEPAGE) in __transparent_hugepage_enabled()
117 return !!(vma->vm_flags & VM_HUGEPAGE); in __transparent_hugepage_enabled()
178 unsigned long *vm_flags, int advice);
309 unsigned long *vm_flags, int advice) in hugepage_madvise() argument
Dhugetlb_inline.h11 return !!(vma->vm_flags & VM_HUGETLB); in is_vm_hugetlb_page()
Dmempolicy.h178 if (vma->vm_flags & (VM_IO | VM_PFNMAP)) in vma_migratable()
189 if (vma->vm_flags & VM_HUGETLB) in vma_migratable()
Dmm_types.h241 vm_flags_t vm_flags; /* VMA vm_flags */ member
293 unsigned long vm_flags; /* Flags, see mm.h. */ member
Dmman.h85 #define arch_vm_get_page_prot(vm_flags) __pgprot(0) argument
/linux-4.19.296/fs/
Duserfaultfd.c649 vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); in userfaultfd_event_wait_completion()
681 vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); in dup_userfaultfd()
762 vma->vm_flags &= ~(VM_UFFD_WP | VM_UFFD_MISSING); in mremap_userfaultfd_prep()
905 !!(vma->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP))); in userfaultfd_release()
910 new_flags = vma->vm_flags & ~(VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_release()
922 vma->vm_flags = new_flags; in userfaultfd_release()
1304 unsigned long vm_flags, new_flags; in userfaultfd_register() local
1322 vm_flags = 0; in userfaultfd_register()
1324 vm_flags |= VM_UFFD_MISSING; in userfaultfd_register()
1326 vm_flags |= VM_UFFD_WP; in userfaultfd_register()
[all …]
Dbinfmt_elf_fdpic.c1202 if (vma->vm_flags & VM_IO) { in maydump()
1203 kdcore("%08lx: %08lx: no (IO)", vma->vm_start, vma->vm_flags); in maydump()
1210 if (!(vma->vm_flags & VM_READ)) { in maydump()
1211 kdcore("%08lx: %08lx: no (!read)", vma->vm_start, vma->vm_flags); in maydump()
1217 if (vma->vm_flags & VM_SHARED) { in maydump()
1220 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1224 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1230 if (vma->vm_flags & VM_SHARED) { in maydump()
1234 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
1240 vma->vm_flags, dump_ok ? "yes" : "no"); in maydump()
[all …]
Dexec.c312 vma->vm_flags = VM_SOFTDIRTY | VM_STACK_FLAGS | VM_STACK_INCOMPLETE_SETUP; in __bprm_mm_init()
313 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in __bprm_mm_init()
696 unsigned long vm_flags; in setup_arg_pages() local
741 vm_flags = VM_STACK_FLAGS; in setup_arg_pages()
749 vm_flags |= VM_EXEC; in setup_arg_pages()
751 vm_flags &= ~VM_EXEC; in setup_arg_pages()
752 vm_flags |= mm->def_flags; in setup_arg_pages()
753 vm_flags |= VM_STACK_INCOMPLETE_SETUP; in setup_arg_pages()
756 vm_flags); in setup_arg_pages()
769 vma->vm_flags &= ~VM_STACK_INCOMPLETE_SETUP; in setup_arg_pages()
Dbinfmt_elf.c1341 if (vma->vm_flags & VM_DONTDUMP) in vma_dump_size()
1346 if ((vma->vm_flags & VM_SHARED) && FILTER(DAX_SHARED)) in vma_dump_size()
1348 if (!(vma->vm_flags & VM_SHARED) && FILTER(DAX_PRIVATE)) in vma_dump_size()
1354 if (vma->vm_flags & VM_HUGETLB) { in vma_dump_size()
1355 if ((vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_SHARED)) in vma_dump_size()
1357 if (!(vma->vm_flags & VM_SHARED) && FILTER(HUGETLB_PRIVATE)) in vma_dump_size()
1363 if (vma->vm_flags & VM_IO) in vma_dump_size()
1367 if (vma->vm_flags & VM_SHARED) { in vma_dump_size()
1389 vma->vm_pgoff == 0 && (vma->vm_flags & VM_READ)) { in vma_dump_size()
2353 phdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0; in elf_core_dump()
[all …]
/linux-4.19.296/drivers/misc/ocxl/
Dcontext.c168 if ((vma->vm_flags & VM_READ) || (vma->vm_flags & VM_EXEC) || in check_mmap_afu_irq()
169 !(vma->vm_flags & VM_WRITE)) in check_mmap_afu_irq()
171 vma->vm_flags &= ~(VM_MAYREAD | VM_MAYEXEC); in check_mmap_afu_irq()
195 vma->vm_flags |= VM_IO | VM_PFNMAP; in ocxl_context_mmap()
/linux-4.19.296/drivers/char/
Dmspec.c252 if ((vma->vm_flags & VM_SHARED) == 0) in mspec_mmap()
255 if ((vma->vm_flags & VM_WRITE) == 0) in mspec_mmap()
274 vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in mspec_mmap()
Duv_mmtimer.c154 if (vma->vm_flags & VM_WRITE) in uv_mmtimer_mmap()
/linux-4.19.296/drivers/xen/
Dprivcmd-buf.c140 if (!(vma->vm_flags & VM_SHARED)) in privcmd_buf_mmap()
160 vma->vm_flags |= VM_IO | VM_DONTEXPAND; in privcmd_buf_mmap()
/linux-4.19.296/fs/proc/
Dtask_mmu.c304 vm_flags_t flags = vma->vm_flags; in show_map_vma()
504 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pte_entry()
556 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pmd_entry()
675 if (vma->vm_flags & (1UL << i)) { in show_smap_vma_flags()
742 if (!shmem_swapped || (vma->vm_flags & VM_SHARED) || in smap_gather_stats()
743 !(vma->vm_flags & VM_WRITE)) { in smap_gather_stats()
1068 if (vma->vm_flags & VM_PFNMAP) in clear_refs_test_walk()
1145 if (!(vma->vm_flags & VM_SOFTDIRTY)) in clear_refs_write()
1171 vma->vm_flags &= ~VM_SOFTDIRTY; in clear_refs_write()
1263 if (vma->vm_flags & VM_SOFTDIRTY) in pagemap_pte_hole()
[all …]
Dnommu.c44 flags = region->vm_flags; in nommu_region_show()
Dtask_nommu.c43 vma->vm_flags & VM_MAYSHARE) { in task_mem()
154 flags = vma->vm_flags; in nommu_vma_show()
/linux-4.19.296/fs/orangefs/
Dfile.c565 if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) in orangefs_file_mmap()
569 vma->vm_flags |= VM_SEQ_READ; in orangefs_file_mmap()
570 vma->vm_flags &= ~VM_RAND_READ; in orangefs_file_mmap()
/linux-4.19.296/fs/romfs/
Dmmap-nommu.c70 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
/linux-4.19.296/fs/ext4/
Dfile.c315 (vmf->vma->vm_flags & VM_SHARED); in ext4_dax_huge_fault()
384 if (!IS_DAX(file_inode(file)) && (vma->vm_flags & VM_SYNC)) in ext4_file_mmap()
390 vma->vm_flags |= VM_HUGEPAGE; in ext4_file_mmap()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_mmap.c574 req.prot = vma->vm_flags & (VM_READ | VM_WRITE); in scif_munmap()
646 req.prot = vma->vm_flags & (VM_READ | VM_WRITE); in scif_mmap()
675 vma->vm_flags |= VM_DONTCOPY | VM_DONTEXPAND | VM_DONTDUMP; in scif_mmap()
678 vma->vm_flags |= VM_IO | VM_PFNMAP; in scif_mmap()

123