Lines Matching refs:cand_cache
5743 struct hashmap *cand_cache, in bpf_core_resolve_relo() argument
5763 !hashmap__find(cand_cache, local_id, &cands)) { in bpf_core_resolve_relo()
5771 err = hashmap__set(cand_cache, local_id, cands, NULL, NULL); in bpf_core_resolve_relo()
5790 struct hashmap *cand_cache = NULL; in bpf_object__relocate_core() local
5808 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
5809 if (IS_ERR(cand_cache)) { in bpf_object__relocate_core()
5810 err = PTR_ERR(cand_cache); in bpf_object__relocate_core()
5871 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res); in bpf_object__relocate_core()
5892 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_object__relocate_core()
5893 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_object__relocate_core()
5896 hashmap__free(cand_cache); in bpf_object__relocate_core()