Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c5987 struct hashmap *cand_cache, in bpf_core_resolve_relo() argument
6007 !hashmap__find(cand_cache, local_id, &cands)) { in bpf_core_resolve_relo()
6015 err = hashmap__set(cand_cache, local_id, cands, NULL, NULL); in bpf_core_resolve_relo()
6034 struct hashmap *cand_cache = NULL; in bpf_object__relocate_core() local
6052 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
6053 if (IS_ERR(cand_cache)) { in bpf_object__relocate_core()
6054 err = PTR_ERR(cand_cache); in bpf_object__relocate_core()
6115 err = bpf_core_resolve_relo(prog, rec, i, obj->btf, cand_cache, &targ_res); in bpf_object__relocate_core()
6136 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_object__relocate_core()
6137 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_object__relocate_core()
[all …]