Lines Matching +full:2 +full:nd

111 		bid += 2;  in build_id__sprintf()
190 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
191 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
381 struct rb_node *nd; in perf_session__write_buildid_table() local
387 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
388 nd = rb_next(nd)) { in perf_session__write_buildid_table()
389 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table()
414 struct rb_node *nd; in dsos__hit_all() local
421 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
422 nd = rb_next(nd)) { in dsos__hit_all()
423 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all()
441 return (strlen(d->d_name) == 2) && in lsdir_bid_head_filter()
458 struct str_node *nd, *nd2; in build_id_cache__list_all() local
483 strlist__for_each_entry(nd, toplist) { in build_id_cache__list_all()
484 if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0) in build_id_cache__list_all()
494 nd->s, nd2->s) > SBUILD_ID_SIZE - 1) in build_id_cache__list_all()
535 struct str_node *nd, *cand = NULL; in build_id_cache__complement() local
547 strlist__for_each_entry(nd, bidlist) { in build_id_cache__complement()
548 if (strncmp(nd->s, incomplete_sbuild_id, len) != 0) in build_id_cache__complement()
550 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
554 cand = nd; in build_id_cache__complement()
647 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
648 sbuild_id + 2); in build_id_cache__find_debug()
897 struct rb_node *nd; in machines__for_each_dso() local
899 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
900 nd = rb_next(nd)) { in machines__for_each_dso()
901 struct machine *pos = rb_entry(nd, struct machine, rb_node); in machines__for_each_dso()
932 struct rb_node *nd; in perf_session__read_build_ids() local
935 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
936 nd = rb_next(nd)) { in perf_session__read_build_ids()
937 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__read_build_ids()