Home
last modified time | relevance | path

Searched refs:hashmap__append (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c276 err = hashmap__append(map, k1, (void *)1); in test_hashmap_multimap()
279 err = hashmap__append(map, k1, (void *)2); in test_hashmap_multimap()
282 err = hashmap__append(map, k1, (void *)4); in test_hashmap_multimap()
286 err = hashmap__append(map, k2, (void *)8); in test_hashmap_multimap()
289 err = hashmap__append(map, k2, (void *)16); in test_hashmap_multimap()
292 err = hashmap__append(map, k2, (void *)32); in test_hashmap_multimap()
/linux-6.1.9/tools/lib/bpf/
Dhashmap.h138 static inline int hashmap__append(struct hashmap *map, in hashmap__append() function
Dbtf.c1582 err = hashmap__append(p->str_off_map, (void *)(long)*str_off, (void *)(long)off); in btf_rewrite_str()
3133 return hashmap__append(d->dedup_table, in btf_dedup_table_add()
/linux-6.1.9/tools/perf/util/
Dhashmap.h138 static inline int hashmap__append(struct hashmap *map, in hashmap__append() function
/linux-6.1.9/tools/bpf/bpftool/
Dpids.c84 err = hashmap__append(map, u32_as_hash_field(e->id), refs); in add_ref()
Dcommon.c498 err = hashmap__append(build_fn_table, u32_as_hash_field(pinned_info.id), path); in do_build_table_cb()
Dbtf.c818 err = hashmap__append(tab, u32_as_hash_field(btf_id), in build_btf_type_table()