Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.c3016 struct hashmap *cand_cache) in bpf_core_reloc_offset() argument
3053 if (!hashmap__find(cand_cache, type_key, (void **)&cand_ids)) { in bpf_core_reloc_offset()
3061 err = hashmap__set(cand_cache, type_key, cand_ids, NULL, NULL); in bpf_core_reloc_offset()
3127 struct hashmap *cand_cache = NULL; in bpf_core_reloc_offsets() local
3143 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_core_reloc_offsets()
3144 if (IS_ERR(cand_cache)) { in bpf_core_reloc_offsets()
3145 err = PTR_ERR(cand_cache); in bpf_core_reloc_offsets()
3169 targ_btf, cand_cache); in bpf_core_reloc_offsets()
3180 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_core_reloc_offsets()
3181 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_core_reloc_offsets()
[all …]