Lines Matching refs:cand_cache
5668 struct hashmap *cand_cache) in bpf_core_apply_relo() argument
5723 if (!hashmap__find(cand_cache, type_key, (void **)&cand_ids)) { in bpf_core_apply_relo()
5731 err = hashmap__set(cand_cache, type_key, cand_ids, NULL, NULL); in bpf_core_apply_relo()
5838 struct hashmap *cand_cache = NULL; in bpf_object__relocate_core() local
5856 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
5857 if (IS_ERR(cand_cache)) { in bpf_object__relocate_core()
5858 err = PTR_ERR(cand_cache); in bpf_object__relocate_core()
5906 targ_btf, cand_cache); in bpf_object__relocate_core()
5919 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_object__relocate_core()
5920 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_object__relocate_core()
5923 hashmap__free(cand_cache); in bpf_object__relocate_core()