Home
last modified time | relevance | path

Searched refs:hashmap__set (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dexpr.c52 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id()
74 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id_val()
120 ret = hashmap__set(&ctx->ids, name, data_ptr, in expr__add_ref()
H A Dhashmap.h122 static inline int hashmap__set(struct hashmap *map, in hashmap__set() function
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/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()
290 if (CHECK(err, "hashmap__set", "unexpected error: %d\n", err)) in test_hashmap_ptr_iface()
292 CHECK_STR("hashmap__set", old_key, "b"); in test_hashmap_ptr_iface()
293 CHECK_STR("hashmap__set", old_value, "banana"); in test_hashmap_ptr_iface()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c67 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
119 err = hashmap__set(map, k, v, &oldk, &oldv); in test_hashmap_generic()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dhashmap.h122 static inline int hashmap__set(struct hashmap *map, in hashmap__set() function
H A Dbtf_dump.c1480 err = hashmap__set(name_map, new_name, (void *)dup_cnt, in btf_dump_name_dups()
H A Dlibbpf.c5793 err = hashmap__set(cand_cache, type_key, cand_ids, NULL, NULL); in bpf_core_apply_relo()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dhashmap.h141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
H A Dbtf_dump.c1646 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()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dgen.c2095 err = hashmap__set(cand_cache, relo->type_id, cands, in btfgen_record_obj()

Completed in 49 milliseconds