Lines Matching defs:dup_cnt
1073 size_t dup_cnt;
1079 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1080 if (dup_cnt > 1) {
1082 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, dup_cnt, v->val);
1098 size_t dup_cnt;
1104 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1106 if (dup_cnt > 1) {
1110 pfx(lvl + 1), name, dup_cnt,
1645 size_t dup_cnt = 0;
1652 (void)hashmap__find(name_map, orig_name, &dup_cnt);
1653 dup_cnt++;
1655 err = hashmap__set(name_map, new_name, dup_cnt, &old_name, NULL);
1661 return dup_cnt;
1671 size_t dup_cnt;
1684 dup_cnt = btf_dump_name_dups(d, name_map, orig_name);
1685 if (dup_cnt > 1) {
1689 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt);