Lines Matching refs:current
132 mapinfo *current = *head; in enqueue_map() local
139 if (current && coalesce_by_name && !strcmp(map->name, current->name)) { in enqueue_map()
140 current->size += map->size; in enqueue_map()
141 current->rss += map->rss; in enqueue_map()
142 current->pss += map->pss; in enqueue_map()
143 current->shared_clean += map->shared_clean; in enqueue_map()
144 current->shared_dirty += map->shared_dirty; in enqueue_map()
145 current->private_clean += map->private_clean; in enqueue_map()
146 current->private_dirty += map->private_dirty; in enqueue_map()
147 current->swap += map->swap; in enqueue_map()
148 current->is_bss &= map->is_bss; in enqueue_map()
149 current->count++; in enqueue_map()
154 if (!current || order_before(map, current, sort_by_address)) { in enqueue_map()
160 map->next = current; in enqueue_map()
164 prev = current; in enqueue_map()
165 current = current->next; in enqueue_map()
175 mapinfo *current = NULL; in load_maps() local
191 if (current != NULL && !parse_field(current, line)) { in load_maps()
196 if (!parse_header(line, current, &next)) { in load_maps()
197 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps()
198 current = next; in load_maps()
205 enqueue_map(&head, current, sort_by_address, coalesce_by_name); in load_maps()