Lines Matching refs:cand_cache
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()
5264 hashmap__free(cand_cache); in bpf_object__relocate_core()