Searched refs:hashmap__set (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | expr.c | 105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert() 134 ret = hashmap__set(ids1, cur->key, cur->value, &old_key, &old_data); in ids__union() 175 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count() 210 ret = hashmap__set(ctx->ids, name, data_ptr, &old_key, &old_data); in expr__add_ref()
|
H A D | hashmap.h | 141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 67 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic() 117 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic() 289 err = hashmap__set(map, "b", "breadfruit", &old_key, &old_value); in test_hashmap_ptr_iface()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | hashmap.h | 141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
|
H A D | btf_dump.c | 1648 err = hashmap__set(name_map, new_name, dup_cnt, &old_name, NULL); in btf_dump_name_dups()
|
H A D | btf.c | 4554 err = hashmap__set(names_map, t->name_off, 0, NULL, NULL); in btf_dedup_fill_unique_names_map()
|
H A D | libbpf.c | 5771 err = hashmap__set(cand_cache, local_id, cands, NULL, NULL); in bpf_core_resolve_relo()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | 2095 err = hashmap__set(cand_cache, relo->type_id, cands, in btfgen_record_obj()
|