Searched refs:cand_cache (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/tools/lib/bpf/ |
| D | libbpf.c | 3003 struct hashmap *cand_cache) in bpf_core_reloc_offset() argument 3040 if (!hashmap__find(cand_cache, type_key, (void **)&cand_ids)) { in bpf_core_reloc_offset() 3048 err = hashmap__set(cand_cache, type_key, cand_ids, NULL, NULL); in bpf_core_reloc_offset() 3114 struct hashmap *cand_cache = NULL; in bpf_core_reloc_offsets() local 3130 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_core_reloc_offsets() 3131 if (IS_ERR(cand_cache)) { in bpf_core_reloc_offsets() 3132 err = PTR_ERR(cand_cache); in bpf_core_reloc_offsets() 3156 targ_btf, cand_cache); in bpf_core_reloc_offsets() 3167 if (!IS_ERR_OR_NULL(cand_cache)) { in bpf_core_reloc_offsets() 3168 hashmap__for_each_entry(cand_cache, entry, i) { in bpf_core_reloc_offsets() [all …]
|