Home
last modified time | relevance | path

Searched refs:hashmap__add (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c65 err = hashmap__add(map, k, v); in test_hashmap_generic()
109 err = hashmap__add(map, k, v); in test_hashmap_generic()
110 if (CHECK(err != -EEXIST, "hashmap__add", in test_hashmap_generic()
285 err = hashmap__add(map, "b", "banana"); in test_hashmap_ptr_iface()
286 if (CHECK(err, "hashmap__add", "unexpected error: %d\n", err)) in test_hashmap_ptr_iface()
H A Dkprobe_multi_test.c331 * Filtering out duplicates by using hashmap__add, which won't in get_syms()
376 err = hashmap__add(map, name, 0); in get_syms()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c65 err = hashmap__add(map, k, v); in test_hashmap_generic()
111 err = hashmap__add(map, k, v); in test_hashmap_generic()
112 if (CHECK(err != -EEXIST, "hashmap__add", in test_hashmap_generic()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dstrset.c67 /* hashmap__add() returns EEXIST if string with the same in strset__new()
70 err = hashmap__add(hash, off, off); in strset__new()
H A Dhashmap.h138 #define hashmap__add(map, key, value) \ macro
H A Dusdt.c928 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
941 err = hashmap__add(specs_hash, target->spec_str, *spec_id); in allocate_spec_id()
H A Dbtf.c4552 err = hashmap__add(names_map, t->name_off, type_id); in btf_dedup_fill_unique_names_map()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dhashmap.h116 static inline int hashmap__add(struct hashmap *map, in hashmap__add() function
H A Dbtf.c1441 /* hashmap__add() returns EEXIST if string with the same in btf_ensure_modifiable()
1444 err = hashmap__add(hash, (void *)off, (void *)off); in btf_ensure_modifiable()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhashmap.h116 static inline int hashmap__add(struct hashmap *map, in hashmap__add() function
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhashmap.h138 #define hashmap__add(map, key, value) \ macro
H A Dstat.c361 ret = hashmap__add(mask, key, 1); in check_per_pkg()

Completed in 19 milliseconds