/linux-6.1.9/arch/xtensa/kernel/ |
D | syscall.c | 61 struct vma_iterator vmi; in arch_get_unmapped_area() local 83 vma_iter_init(&vmi, current->mm, addr); in arch_get_unmapped_area() 84 for_each_vma(vmi, vmm) { in arch_get_unmapped_area()
|
/linux-6.1.9/fs/proc/ |
D | task_nommu.c | 23 VMA_ITERATOR(vmi, mm, 0); in task_mem() 29 for_each_vma(vmi, vma) { in task_mem() 83 VMA_ITERATOR(vmi, mm, 0); in task_vsize() 88 for_each_vma(vmi, vma) in task_vsize() 98 VMA_ITERATOR(vmi, mm, 0); in task_statm() 104 for_each_vma(vmi, vma) { in task_statm()
|
/linux-6.1.9/arch/powerpc/mm/book3s32/ |
D | tlb.c | 84 VMA_ITERATOR(vmi, mm, 0); in hash__flush_tlb_mm() 92 for_each_vma(vmi, mp) in hash__flush_tlb_mm()
|
/linux-6.1.9/arch/x86/entry/vdso/ |
D | vma.c | 130 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens() 133 for_each_vma(vmi, vma) { in vdso_join_timens() 357 VMA_ITERATOR(vmi, mm, 0); in map_vdso_once() 367 for_each_vma(vmi, vma) { in map_vdso_once()
|
/linux-6.1.9/include/linux/ |
D | mm_types.h | 819 static inline void vma_iter_init(struct vma_iterator *vmi, in vma_iter_init() argument 822 vmi->mas.tree = &mm->mm_mt; in vma_iter_init() 823 vmi->mas.index = addr; in vma_iter_init() 824 vmi->mas.node = MAS_START; in vma_iter_init()
|
D | mm.h | 665 struct vm_area_struct *vma_find(struct vma_iterator *vmi, unsigned long max) in vma_find() argument 667 return mas_find(&vmi->mas, max); in vma_find() 670 static inline struct vm_area_struct *vma_next(struct vma_iterator *vmi) in vma_next() argument 676 return vma_find(vmi, ULONG_MAX); in vma_next() 679 static inline struct vm_area_struct *vma_prev(struct vma_iterator *vmi) in vma_prev() argument 681 return mas_prev(&vmi->mas, 0); in vma_prev() 684 static inline unsigned long vma_iter_addr(struct vma_iterator *vmi) in vma_iter_addr() argument 686 return vmi->mas.index; in vma_iter_addr()
|
/linux-6.1.9/arch/riscv/kernel/ |
D | vdso.c | 122 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens() 126 for_each_vma(vmi, vma) { in vdso_join_timens()
|
/linux-6.1.9/arch/s390/kernel/ |
D | vdso.c | 72 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens() 76 for_each_vma(vmi, vma) { in vdso_join_timens()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | subpage_prot.c | 152 VMA_ITERATOR(vmi, mm, addr); in subpage_mark_vma_nohuge() 158 for_each_vma_range(vmi, vma, addr + len) { in subpage_mark_vma_nohuge()
|
/linux-6.1.9/arch/um/kernel/ |
D | tlb.c | 588 VMA_ITERATOR(vmi, mm, 0); in flush_tlb_mm() 590 for_each_vma(vmi, vma) in flush_tlb_mm() 598 VMA_ITERATOR(vmi, mm, 0); in force_flush_all() 600 for_each_vma(vmi, vma) in force_flush_all()
|
/linux-6.1.9/arch/parisc/kernel/ |
D | cache.c | 660 VMA_ITERATOR(vmi, mm, 0); in mm_total_size() 662 for_each_vma(vmi, vma) { in mm_total_size() 673 VMA_ITERATOR(vmi, mm, 0); in flush_cache_mm() 693 for_each_vma(vmi, vma) in flush_cache_mm()
|
/linux-6.1.9/drivers/misc/cxl/ |
D | fault.c | 297 VMA_ITERATOR(vmi, mm, 0); in cxl_prefault_vma() 302 for_each_vma(vmi, vma) { in cxl_prefault_vma()
|
/linux-6.1.9/arch/ia64/kernel/ |
D | setup.c | 939 pal_vm_info_2_u_t vmi; in cpu_init() local 1045 if (ia64_pal_vm_summary(NULL, &vmi) == 0) { in cpu_init() 1046 max_ctx = (1U << (vmi.pal_vm_info_2_s.rid_size - 3)) - 1; in cpu_init() 1047 setup_ptcg_sem(vmi.pal_vm_info_2_s.max_purges, NPTCG_FROM_PAL); in cpu_init()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | vdso.c | 118 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens() 122 for_each_vma(vmi, vma) { in vdso_join_timens()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | vdso.c | 136 VMA_ITERATOR(vmi, mm, 0); in vdso_join_timens() 140 for_each_vma(vmi, vma) { in vdso_join_timens()
|
/linux-6.1.9/drivers/gpu/drm/i915/gem/ |
D | i915_gem_userptr.c | 429 VMA_ITERATOR(vmi, mm, addr); in probe_range() 434 for_each_vma_range(vmi, vma, end) { in probe_range()
|
/linux-6.1.9/kernel/ |
D | acct.c | 561 VMA_ITERATOR(vmi, mm, 0); in acct_collect() 565 for_each_vma(vmi, vma) in acct_collect()
|
/linux-6.1.9/ipc/ |
D | shm.c | 1740 VMA_ITERATOR(vmi, mm, addr); in ksys_shmdt() 1772 for_each_vma(vmi, vma) { in ksys_shmdt() 1790 mas_pause(&vmi.mas); in ksys_shmdt() 1798 vma = vma_next(&vmi); in ksys_shmdt() 1815 mas_pause(&vmi.mas); in ksys_shmdt() 1818 vma = vma_next(&vmi); in ksys_shmdt()
|
/linux-6.1.9/drivers/tee/optee/ |
D | call.c | 499 VMA_ITERATOR(vmi, mm, start); in __check_mem_type() 501 for_each_vma_range(vmi, vma, end) { in __check_mem_type()
|
/linux-6.1.9/kernel/events/ |
D | uprobes.c | 354 VMA_ITERATOR(vmi, mm, 0); in find_ref_ctr_vma() 357 for_each_vma(vmi, tmp) in find_ref_ctr_vma() 1237 VMA_ITERATOR(vmi, mm, 0); in unapply_uprobe() 1242 for_each_vma(vmi, vma) { in unapply_uprobe() 1990 VMA_ITERATOR(vmi, mm, 0); in mmf_recalc_uprobes() 1993 for_each_vma(vmi, vma) { in mmf_recalc_uprobes()
|
/linux-6.1.9/mm/damon/ |
D | vaddr.c | 120 VMA_ITERATOR(vmi, mm, 0); in __damon_va_three_regions() 129 for_each_vma(vmi, vma) { in __damon_va_three_regions()
|
/linux-6.1.9/mm/ |
D | mlock.c | 532 VMA_ITERATOR(vmi, mm, start); in count_mm_mlocked_page_nr() 540 for_each_vma_range(vmi, vma, end) { in count_mm_mlocked_page_nr()
|
D | mempolicy.c | 384 VMA_ITERATOR(vmi, mm, 0); in mpol_rebind_mm() 387 for_each_vma(vmi, vma) in mpol_rebind_mm() 1213 VMA_ITERATOR(vmi, current->mm, start); in new_page() 1216 for_each_vma(vmi, vma) { in new_page() 1497 VMA_ITERATOR(vmi, mm, start); in SYSCALL_DEFINE4() 1523 for_each_vma_range(vmi, vma, end) { in SYSCALL_DEFINE4()
|
D | oom_kill.c | 516 VMA_ITERATOR(vmi, mm, 0); in __oom_reap_task_mm() 526 for_each_vma(vmi, vma) { in __oom_reap_task_mm()
|
/linux-6.1.9/fs/ |
D | userfaultfd.c | 629 VMA_ITERATOR(vmi, mm, 0); in userfaultfd_event_wait_completion() 633 for_each_vma(vmi, vma) { in userfaultfd_event_wait_completion() 823 VMA_ITERATOR(vmi, mm, start); in userfaultfd_unmap_prep() 826 for_each_vma_range(vmi, vma, end) { in userfaultfd_unmap_prep()
|