/linux-4.19.296/include/trace/events/ |
D | fs_dax.h | 18 __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/ |
D | khugepaged.h | 17 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
|
D | ksm.h | 23 unsigned long end, int advice, unsigned long *vm_flags); 70 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
|
D | rmap.h | 200 struct mem_cgroup *memcg, unsigned long *vm_flags); 291 unsigned long *vm_flags) in page_referenced() argument 293 *vm_flags = 0; in page_referenced()
|
D | userfaultfd_k.h | 50 return vma->vm_flags & VM_UFFD_MISSING; in userfaultfd_missing() 55 return vma->vm_flags & (VM_UFFD_MISSING | VM_UFFD_WP); in userfaultfd_armed()
|
D | huge_mm.h | 100 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
|
D | hugetlb_inline.h | 11 return !!(vma->vm_flags & VM_HUGETLB); in is_vm_hugetlb_page()
|
D | mempolicy.h | 178 if (vma->vm_flags & (VM_IO | VM_PFNMAP)) in vma_migratable() 189 if (vma->vm_flags & VM_HUGETLB) in vma_migratable()
|
D | mm_types.h | 241 vm_flags_t vm_flags; /* VMA vm_flags */ member 293 unsigned long vm_flags; /* Flags, see mm.h. */ member
|
D | mman.h | 85 #define arch_vm_get_page_prot(vm_flags) __pgprot(0) argument
|
/linux-4.19.296/fs/ |
D | userfaultfd.c | 649 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 …]
|
D | binfmt_elf_fdpic.c | 1202 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 …]
|
D | exec.c | 312 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()
|
D | binfmt_elf.c | 1341 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/ |
D | context.c | 168 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/ |
D | mspec.c | 252 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()
|
D | uv_mmtimer.c | 154 if (vma->vm_flags & VM_WRITE) in uv_mmtimer_mmap()
|
/linux-4.19.296/drivers/xen/ |
D | privcmd-buf.c | 140 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/ |
D | task_mmu.c | 304 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 …]
|
D | nommu.c | 44 flags = region->vm_flags; in nommu_region_show()
|
D | task_nommu.c | 43 vma->vm_flags & VM_MAYSHARE) { in task_mem() 154 flags = vma->vm_flags; in nommu_vma_show()
|
/linux-4.19.296/fs/orangefs/ |
D | file.c | 565 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/ |
D | mmap-nommu.c | 70 return vma->vm_flags & (VM_SHARED | VM_MAYSHARE) ? 0 : -ENOSYS; in romfs_mmap()
|
/linux-4.19.296/fs/ext4/ |
D | file.c | 315 (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/ |
D | scif_mmap.c | 574 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()
|