Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbtf.c7777 } cands[]; in btf_get_ptr_to_btf_id()
7820 if (btf_is_module(cc->cands[0].btf)) {
7826 kern_type_id = cc->cands[0].id;
9372 static void bpf_free_cands(struct bpf_cand_cache *cands) in bpf_core_add_cands()
9374 if (!cands->cnt) in bpf_core_add_cands()
9377 kfree(cands); in bpf_core_add_cands()
9380 static void bpf_free_cands_from_cache(struct bpf_cand_cache *cands) in bpf_core_add_cands()
9382 kfree(cands->name); in bpf_core_add_cands()
9383 kfree(cands); in bpf_core_add_cands()
9405 bpf_log(log, "%d", cc->cands[ in bpf_core_add_cands()
7760 } cands[]; global() member
9215 bpf_free_cands(struct bpf_cand_cache * cands) bpf_free_cands() argument
9223 bpf_free_cands_from_cache(struct bpf_cand_cache * cands) bpf_free_cands_from_cache() argument
9267 hash_cands(struct bpf_cand_cache * cands) hash_cands() argument
9272 check_cand_cache(struct bpf_cand_cache * cands,struct bpf_cand_cache ** cache,int cache_size) check_cand_cache() argument
9289 populate_cand_cache(struct bpf_cand_cache * cands,struct bpf_cand_cache ** cache,int cache_size) populate_cand_cache() argument
9359 bpf_core_add_cands(struct bpf_cand_cache * cands,const struct btf * targ_btf,int targ_start_id) bpf_core_add_cands() argument
9410 struct bpf_cand_cache *cands, *cc, local_cand = {}; bpf_core_find_cands() local
9499 struct bpf_core_cand_list cands = {}; bpf_core_apply() local
[all...]
/linux/tools/lib/bpf/
H A Drelo_core.h16 struct bpf_core_cand *cands; member
85 struct bpf_core_cand_list *cands,
H A Dlibbpf.c5749 void bpf_core_free_cands(struct bpf_core_cand_list *cands) in bpf_core_add_cands()
5751 if (!cands) in load_module_btfs()
5754 free(cands->cands); in load_module_btfs()
5755 free(cands); in load_module_btfs()
5763 struct bpf_core_cand_list *cands) in load_module_btfs()
5795 new_cands = libbpf_reallocarray(cands->cands, cands->len + 1, in load_module_btfs()
5796 sizeof(*cands in load_module_btfs()
5690 bpf_core_free_cands(struct bpf_core_cand_list * cands) bpf_core_free_cands() argument
5704 bpf_core_add_cands(struct bpf_core_cand * local_cand,size_t local_essent_len,const struct btf * targ_btf,const char * targ_btf_name,int targ_start_id,struct bpf_core_cand_list * cands) bpf_core_add_cands() argument
5851 struct bpf_core_cand_list *cands; bpf_core_find_cands() local
5991 struct bpf_core_cand_list *cands = NULL; bpf_core_resolve_relo() local
[all...]
H A Dlibbpf_internal.h725 struct bpf_core_cand_list *cands); in is_pow_of_2()
726 void bpf_core_free_cands(struct bpf_core_cand_list *cands); in is_pow_of_2()
/linux/net/batman-adv/
H A Ddistributed-arp-table.c560 * @cands: candidates array in batadv_choose_next_candidate()
566 struct batadv_dat_candidate *cands, in batadv_choose_next_candidate()
580 cands[select].type = BATADV_DAT_CANDIDATE_NOT_FOUND; in batadv_choose_next_candidate()
594 if (!batadv_is_orig_node_eligible(cands, select, in batadv_choose_next_candidate()
610 cands[select].type = BATADV_DAT_CANDIDATE_ORIG; in batadv_choose_next_candidate()
611 cands[select].orig_node = max_orig_node; in batadv_choose_next_candidate()
559 batadv_choose_next_candidate(struct batadv_priv * bat_priv,struct batadv_dat_candidate * cands,int select,batadv_dat_addr_t ip_key,batadv_dat_addr_t * last_max) batadv_choose_next_candidate() argument