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

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c65 err = hashmap__add(map, k, v);
109 err = hashmap__add(map, k, v);
110 if (CHECK(err != -EEXIST, "hashmap__add",
285 err = hashmap__add(map, "b", "banana");
286 if (CHECK(err, "hashmap__add", "unexpected error: %d\n", err))
H A Dkprobe_multi_test.c352 * Filtering out duplicates by using hashmap__add, which won't
397 err = hashmap__add(map, name, 0);
/linux-master/tools/lib/bpf/
H A Dstrset.c67 /* hashmap__add() returns EEXIST if string with the same
70 err = hashmap__add(hash, off, off);
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);
941 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
H A Dbtf.c4727 err = hashmap__add(names_map, t->name_off, type_id);
/linux-master/tools/perf/util/
H A Dhashmap.h138 #define hashmap__add(map, key, value) \ macro
H A Dthreads.c118 if (hashmap__add(&table->shard, tid, res)) {
H A Dstat.c361 ret = hashmap__add(mask, key, 1);
H A Dannotate.c1014 if (hashmap__add(src->samples, hash_key, entry) < 0)

Completed in 198 milliseconds