Searched refs:tp_cnt (Results 1 - 1 of 1) sorted by relevance

/linux-master/samples/bpf/
H A Dibumad_user.c32 static int tp_cnt; variable
61 while (tp_cnt)
62 bpf_link__destroy(tp_links[--tp_cnt]);
136 tp_links[tp_cnt] = bpf_program__attach(prog);
137 if (libbpf_get_error(tp_links[tp_cnt])) {
139 tp_links[tp_cnt] = NULL;
142 tp_cnt++;
153 while (tp_cnt)
154 bpf_link__destroy(tp_links[--tp_cnt]);

Completed in 72 milliseconds