Home
last modified time | relevance | path

Searched refs:ref_cnt (Results 1 – 2 of 2) sorted by relevance

/tools/bpf/bpftool/
Dpids.c39 for (i = 0; i < refs->ref_cnt; i++) { in add_ref()
44 tmp = realloc(refs->refs, (refs->ref_cnt + 1) * sizeof(*ref)); in add_ref()
51 ref = &refs->refs[refs->ref_cnt]; in add_ref()
54 refs->ref_cnt++; in add_ref()
78 refs->ref_cnt = 1; in add_ref()
191 if (refs->ref_cnt == 0) in emit_obj_refs_json()
196 for (i = 0; i < refs->ref_cnt; i++) { in emit_obj_refs_json()
220 if (refs->ref_cnt == 0) in emit_obj_refs_plain()
224 for (i = 0; i < refs->ref_cnt; i++) { in emit_obj_refs_plain()
Dmain.h133 int ref_cnt; member