Lines Matching refs:current
92 VmaInfo current(vma); in collect_vma() local
96 if (last.vma.end == current.vma.start && is_library(last.vma.name)) { in collect_vma()
97 current.vma.name = last.vma.name; in collect_vma()
98 current.is_bss = true; in collect_vma()
100 current.vma.name = "[anon]"; in collect_vma()
106 if (g_merge_by_names && (it->vma.name == current.vma.name)) { in collect_vma()
107 it->vma.usage.vss += current.vma.usage.vss; in collect_vma()
108 it->vma.usage.rss += current.vma.usage.rss; in collect_vma()
109 it->vma.usage.pss += current.vma.usage.pss; in collect_vma()
111 it->vma.usage.shared_clean += current.vma.usage.shared_clean; in collect_vma()
112 it->vma.usage.shared_dirty += current.vma.usage.shared_dirty; in collect_vma()
113 it->vma.usage.private_clean += current.vma.usage.private_clean; in collect_vma()
114 it->vma.usage.private_dirty += current.vma.usage.private_dirty; in collect_vma()
115 it->vma.usage.swap += current.vma.usage.swap; in collect_vma()
116 it->vma.usage.swap_pss += current.vma.usage.swap_pss; in collect_vma()
117 it->is_bss &= current.is_bss; in collect_vma()
122 if (insert_before(current, *it)) { in collect_vma()
123 g_vmas.insert(it, current); in collect_vma()
129 g_vmas.emplace_back(current); in collect_vma()