Lines Matching +full:2 +full:nd

110 		bid += 2;  in build_id__sprintf()
189 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
190 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
373 struct rb_node *nd; in perf_session__write_buildid_table() local
379 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
380 nd = rb_next(nd)) { in perf_session__write_buildid_table()
381 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table()
406 struct rb_node *nd; in dsos__hit_all() local
413 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
414 nd = rb_next(nd)) { in dsos__hit_all()
415 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all()
433 return (strlen(d->d_name) == 2) && in lsdir_bid_head_filter()
449 struct str_node *nd, *nd2; in build_id_cache__list_all() local
474 strlist__for_each_entry(nd, toplist) { in build_id_cache__list_all()
475 if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0) in build_id_cache__list_all()
485 nd->s, nd2->s) != SBUILD_ID_SIZE - 1) in build_id_cache__list_all()
526 struct str_node *nd, *cand = NULL; in build_id_cache__complement() local
538 strlist__for_each_entry(nd, bidlist) { in build_id_cache__complement()
539 if (strncmp(nd->s, incomplete_sbuild_id, len) != 0) in build_id_cache__complement()
541 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
545 cand = nd; in build_id_cache__complement()
638 snprintf(debugfile + len, PATH_MAX - len, "%.2s/%s.debug", sbuild_id, in build_id_cache__find_debug()
639 sbuild_id + 2); in build_id_cache__find_debug()
871 struct rb_node *nd; in perf_session__cache_build_ids() local
882 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__cache_build_ids()
883 nd = rb_next(nd)) { in perf_session__cache_build_ids()
884 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__cache_build_ids()
897 struct rb_node *nd; in perf_session__read_build_ids() local
900 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
901 nd = rb_next(nd)) { in perf_session__read_build_ids()
902 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__read_build_ids()