Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dexpr.c105 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 Dhashmap.h141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c67 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 Dhashmap.h141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
H A Dbtf_dump.c1648 err = hashmap__set(name_map, new_name, dup_cnt, &old_name, NULL); in btf_dump_name_dups()
H A Dbtf.c4554 err = hashmap__set(names_map, t->name_off, 0, NULL, NULL); in btf_dedup_fill_unique_names_map()
H A Dlibbpf.c5771 err = hashmap__set(cand_cache, local_id, cands, NULL, NULL); in bpf_core_resolve_relo()
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c2095 err = hashmap__set(cand_cache, relo->type_id, cands, in btfgen_record_obj()