Searched refs:cand_cache (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.15/tools/lib/bpf/ |
| D | libbpf.c | 5116 struct hashmap *cand_cache) in bpf_core_apply_relo() argument 5155 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in bpf_core_apply_relo() 5163 err = hashmap__set(cand_cache, type_key, cands, NULL, NULL); in bpf_core_apply_relo() 5180 struct hashmap *cand_cache = NULL; in bpf_object__relocate_core() local 5197 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core() 5198 if (IS_ERR(cand_cache)) { in bpf_object__relocate_core() 5199 err = PTR_ERR(cand_cache); in bpf_object__relocate_core() 5246 err = bpf_core_apply_relo(prog, rec, i, obj->btf, cand_cache); in bpf_object__relocate_core() 5260 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_object__relocate_core() 5261 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_object__relocate_core() [all …]
|