Lines Matching +full:2 +full:nd

113 		bid += 2;  in build_id__sprintf()
192 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id_cache__linkname()
193 sbuild_id, sbuild_id + 2); in build_id_cache__linkname()
377 struct rb_node *nd; in perf_session__write_buildid_table() local
383 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__write_buildid_table()
384 nd = rb_next(nd)) { in perf_session__write_buildid_table()
385 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__write_buildid_table()
410 struct rb_node *nd; in dsos__hit_all() local
417 for (nd = rb_first_cached(&session->machines.guests); nd; in dsos__hit_all()
418 nd = rb_next(nd)) { in dsos__hit_all()
419 struct machine *pos = rb_entry(nd, struct machine, rb_node); in dsos__hit_all()
437 return (strlen(d->d_name) == 2) && in lsdir_bid_head_filter()
454 struct str_node *nd, *nd2; in build_id_cache__list_all() local
479 strlist__for_each_entry(nd, toplist) { in build_id_cache__list_all()
480 if (asprintf(&linkdir, "%s/%s", topdir, nd->s) < 0) in build_id_cache__list_all()
490 nd->s, nd2->s) > SBUILD_ID_SIZE - 1) in build_id_cache__list_all()
531 struct str_node *nd, *cand = NULL; in build_id_cache__complement() local
543 strlist__for_each_entry(nd, bidlist) { in build_id_cache__complement()
544 if (strncmp(nd->s, incomplete_sbuild_id, len) != 0) in build_id_cache__complement()
546 if (cand) { /* Error: There are more than 2 candidates. */ in build_id_cache__complement()
550 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()
965 struct rb_node *nd; in machines__for_each_dso() local
967 for (nd = rb_first_cached(&machines->guests); nd; in machines__for_each_dso()
968 nd = rb_next(nd)) { in machines__for_each_dso()
969 struct machine *pos = rb_entry(nd, struct machine, rb_node); in machines__for_each_dso()
1000 struct rb_node *nd; in perf_session__read_build_ids() local
1003 for (nd = rb_first_cached(&session->machines.guests); nd; in perf_session__read_build_ids()
1004 nd = rb_next(nd)) { in perf_session__read_build_ids()
1005 struct machine *pos = rb_entry(nd, struct machine, rb_node); in perf_session__read_build_ids()