Lines Matching refs:numnodes
258 static void add_dupe(int i, int j, int numnodes) in add_dupe() argument
267 for (k = j; k < numnodes; k++) in add_dupe()
294 int numnodes; in human_fmap() local
304 numnodes = fmh->fmap_nareas; in human_fmap()
307 all_nodes = (struct node_s *) calloc(numnodes + 1, in human_fmap()
313 for (i = 0; i < numnodes; i++) { 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()
333 for (i = 0; i < numnodes; i++) { in human_fmap()
334 for (j = i + 1; j < numnodes; j++) { in human_fmap()
336 add_dupe(i, j, numnodes); in human_fmap()
337 numnodes--; in human_fmap()
346 for (i = 0; i < numnodes; i++) { in human_fmap()
348 int k = numnodes; in human_fmap()
349 for (j = 0; j < numnodes; j++) { /* full O(N^2) comparison */ in human_fmap()
376 for (i = 0; i < numnodes; i++) /* how many */ in human_fmap()
379 for (i = 0; i < numnodes; i++) /* here they are */ in human_fmap()
385 show(all_nodes + numnodes, 0, opt_gaps); in human_fmap()