Home
last modified time | relevance | path

Searched refs:vmi (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/arch/xtensa/kernel/
Dsyscall.c61 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/
Dtask_nommu.c23 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/
Dtlb.c84 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/
Dvma.c130 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/
Dmm_types.h819 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()
Dmm.h665 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/
Dvdso.c122 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/
Dvdso.c72 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/
Dsubpage_prot.c152 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/
Dtlb.c588 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/
Dcache.c660 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/
Dfault.c297 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/
Dsetup.c939 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/
Dvdso.c118 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/
Dvdso.c136 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/
Di915_gem_userptr.c429 VMA_ITERATOR(vmi, mm, addr); in probe_range()
434 for_each_vma_range(vmi, vma, end) { in probe_range()
/linux-6.1.9/kernel/
Dacct.c561 VMA_ITERATOR(vmi, mm, 0); in acct_collect()
565 for_each_vma(vmi, vma) in acct_collect()
/linux-6.1.9/ipc/
Dshm.c1740 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/
Dcall.c499 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/
Duprobes.c354 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/
Dvaddr.c120 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/
Dmlock.c532 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()
Dmempolicy.c384 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()
Doom_kill.c516 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/
Duserfaultfd.c629 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()

12