/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | expr.c | 52 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 D | hashmap.h | 122 static inline int hashmap__set(struct hashmap *map, in hashmap__set() function
|
/kernel/linux/linux-6.6/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
|
/kernel/linux/linux-6.6/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() 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 D | hashmap.c | 67 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 D | hashmap.h | 122 static inline int hashmap__set(struct hashmap *map, in hashmap__set() function
|
H A D | btf_dump.c | 1480 err = hashmap__set(name_map, new_name, (void *)dup_cnt, in btf_dump_name_dups()
|
H A D | libbpf.c | 5793 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 D | hashmap.h | 141 #define hashmap__set(map, key, value, old_key, old_value) \ macro
|
H A D | btf_dump.c | 1646 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()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | gen.c | 2095 err = hashmap__set(cand_cache, relo->type_id, cands, in btfgen_record_obj()
|