Lines Matching defs:dup_cnt
1069 size_t dup_cnt;
1075 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1076 if (dup_cnt > 1) {
1078 btf_dump_printf(d, fmt_str, pfx(lvl + 1), name, dup_cnt, v->val);
1094 size_t dup_cnt;
1100 dup_cnt = btf_dump_name_dups(d, d->ident_names, name);
1102 if (dup_cnt > 1) {
1106 pfx(lvl + 1), name, dup_cnt,
1636 size_t dup_cnt = 0;
1643 (void)hashmap__find(name_map, orig_name, &dup_cnt);
1644 dup_cnt++;
1646 err = hashmap__set(name_map, new_name, dup_cnt, &old_name, NULL);
1652 return dup_cnt;
1662 size_t dup_cnt;
1675 dup_cnt = btf_dump_name_dups(d, name_map, orig_name);
1676 if (dup_cnt > 1) {
1680 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt);