Home
last modified time | relevance | path

Searched refs:hashmap__new (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c50 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_generic()
268 map = hashmap__new(collision_hash_fn, equal_fn, NULL); in test_hashmap_multimap()
339 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_empty()
Dkprobe_multi_test.c345 map = hashmap__new(symbol_hash, symbol_equal, NULL); in get_syms()
/Linux-v6.1/tools/perf/util/
Dexpr.c72 hash = hashmap__new(key_hash, key_equal, NULL); in ids__new()
299 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
Dhashmap.h75 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
Dstat.c315 mask = hashmap__new(pkg_id_hash, pkg_id_equal, NULL); in check_per_pkg()
Dbpf-loader.c365 bpf_program_hash = hashmap__new(ptr_hash, ptr_equal, NULL); in program_set_priv()
1202 bpf_map_hash = hashmap__new(ptr_hash, ptr_equal, NULL); in map_set_priv()
/Linux-v6.1/tools/lib/bpf/
Dstrset.c48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new()
Dhashmap.h75 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
Dbtf_dump.c170 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
176 d->ident_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
Dusdt.c996 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt()
Dbtf.c1670 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
3211 d->dedup_table = hashmap__new(hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_new()
Dlibbpf.c5663 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
/Linux-v6.1/tools/bpf/bpftool/
Dpids.c106 *map = hashmap__new(hash_fn_for_key_as_id, equal_fn_for_key_as_id, NULL); in build_obj_refs_table()
Dlink.c367 link_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
Dbtf.c990 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
992 btf_map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
Dmap.c677 map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
Dgen.c2077 cand_cache = hashmap__new(btfgen_hash_fn, btfgen_equal_fn, NULL); in btfgen_record_obj()
Dprog.c638 prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()