Lines Matching refs:all_nodes

169 static struct node_s *all_nodes;  variable
235 struct node_s *a = all_nodes + i; in overlaps()
236 struct node_s *b = all_nodes + j; in overlaps()
244 struct node_s *a = all_nodes + i; in encloses()
245 struct node_s *b = all_nodes + j; in encloses()
252 struct node_s *a = all_nodes + i; in duplicates()
253 struct node_s *b = all_nodes + j; in duplicates()
264 alias->name = all_nodes[j].name; in add_dupe()
265 alias->next = all_nodes[i].alias; in add_dupe()
266 all_nodes[i].alias = alias; in add_dupe()
268 all_nodes[k] = all_nodes[k + 1]; in add_dupe()
285 p->child[i] = all_nodes + n; in add_child()
307 all_nodes = (struct node_s *) calloc(numnodes + 1, in human_fmap()
309 if (!all_nodes) { in human_fmap()
317 all_nodes[i].name = strdup(buf); in human_fmap()
318 if (!all_nodes[i].name) { in human_fmap()
322 all_nodes[i].start = ah[i].area_offset; in human_fmap()
323 all_nodes[i].size = ah[i].area_size; in human_fmap()
324 all_nodes[i].end = ah[i].area_offset + ah[i].area_size; in human_fmap()
327 all_nodes[numnodes].name = strdup("-entire flash-"); in human_fmap()
328 all_nodes[numnodes].start = fmh->fmap_base; in human_fmap()
329 all_nodes[numnodes].size = fmh->fmap_size; in human_fmap()
330 all_nodes[numnodes].end = fmh->fmap_base + fmh->fmap_size; in human_fmap()
354 all_nodes[i].name, all_nodes[j].name); in human_fmap()
355 printf(" %s: 0x%x - 0x%x\n", all_nodes[i].name, in human_fmap()
356 all_nodes[i].start, all_nodes[i].end); in human_fmap()
357 printf(" %s: 0x%x - 0x%x\n", all_nodes[j].name, in human_fmap()
358 all_nodes[j].start, all_nodes[j].end); in human_fmap()
367 && all_nodes[j].size < all_nodes[k].size) in human_fmap()
370 all_nodes[i].parent = all_nodes + k; in human_fmap()
377 if (all_nodes[i].parent) in human_fmap()
378 all_nodes[i].parent->num_children++; in human_fmap()
380 if (all_nodes[i].parent) in human_fmap()
381 add_child(all_nodes[i].parent, i); in human_fmap()
385 show(all_nodes + numnodes, 0, opt_gaps); in human_fmap()