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()
375 struct rb_node *nd; in perf_session__write_buildid_table() local
381 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
382 nd = rb_next(nd)) { in perf_session__write_buildid_table()
383 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table()
408 struct rb_node *nd; in dsos__hit_all() local
415 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
416 nd = rb_next(nd)) { in dsos__hit_all()
417 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all()
435 return (strlen(d->d_name) == 2) && in lsdir_bid_head_filter()
452 struct str_node *nd, *nd2; in build_id_cache__list_all() local
477 strlist__for_each_entry(nd, toplist) { in build_id_cache__list_all()
478 if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0) in build_id_cache__list_all()
488 nd->s, nd2->s) > SBUILD_ID_SIZE - 1) in build_id_cache__list_all()
529 struct str_node *nd, *cand = NULL; in build_id_cache__complement() local
541 strlist__for_each_entry(nd, bidlist) { in build_id_cache__complement()
542 if (strncmp(nd->s, incomplete_sbuild_id, len) != 0) in build_id_cache__complement()
544 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
548 cand = nd; in build_id_cache__complement()
645 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
646 sbuild_id + 2); in build_id_cache__find_debug()
961 struct rb_node *nd; in machines__for_each_dso() local
963 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
964 nd = rb_next(nd)) { in machines__for_each_dso()
965 struct machine *pos = rb_entry(nd, struct machine, rb_node); in machines__for_each_dso()
996 struct rb_node *nd; in perf_session__read_build_ids() local
999 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
1000 nd = rb_next(nd)) { in perf_session__read_build_ids()
1001 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__read_build_ids()