Home
last modified time | relevance | path

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

/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c2494 static void bpf_core_free_cands(struct ids_vec *cand_ids) in bpf_core_free_cands() argument
2496 free(cand_ids->data); in bpf_core_free_cands()
2497 free(cand_ids); in bpf_core_free_cands()
2507 struct ids_vec *cand_ids; in bpf_core_find_cands() local
2520 cand_ids = calloc(1, sizeof(*cand_ids)); in bpf_core_find_cands()
2521 if (!cand_ids) in bpf_core_find_cands()
2538 new_ids = realloc(cand_ids->data, cand_ids->len + 1); in bpf_core_find_cands()
2543 cand_ids->data = new_ids; in bpf_core_find_cands()
2544 cand_ids->data[cand_ids->len++] = i; in bpf_core_find_cands()
2547 return cand_ids; in bpf_core_find_cands()
[all …]