Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c51 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_generic()
267 map = hashmap__new(str_hash_fn, str_equal_fn, NULL); in test_hashmap_ptr_iface()
348 map = hashmap__new(collision_hash_fn, equal_fn, NULL); in test_hashmap_multimap()
419 map = hashmap__new(hash_fn, equal_fn, NULL); in test_hashmap_empty()
H A Dkprobe_multi_test.c343 map = hashmap__new(symbol_hash, symbol_equal, NULL); in get_syms()
/openbmc/linux/tools/lib/bpf/
H A Dstrset.c48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new()
H A Dhashmap.h85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
H A Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
H A Dbtf_dump.c171 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
177 d->ident_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
H A Dbtf.c1682 p.str_off_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf__add_btf()
3230 d->dedup_table = hashmap__new(hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_new()
4633 names_map = hashmap__new(btf_dedup_identity_hash_fn, btf_dedup_equal_fn, NULL); in btf_dedup_resolve_fwds()
H A Dusdt.c997 specs_hash = hashmap__new(specs_hash_fn, specs_equal_fn, NULL); in usdt_manager_attach_usdt()
H A Dlibbpf.c5808 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
/openbmc/linux/tools/perf/util/
H A Dexpr.c77 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()
H A Dhashmap.h85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
H A Dhashmap.c51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
H A Dstat.c322 mask = hashmap__new(pkg_id_hash, pkg_id_equal, NULL); in check_per_pkg()
/openbmc/linux/tools/bpf/bpftool/
H A Dpids.c106 *map = hashmap__new(hash_fn_for_key_as_id, equal_fn_for_key_as_id, NULL); in build_obj_refs_table()
H A Dbtf.c983 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
985 btf_map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
H A Dlink.c924 link_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
H A Dmap.c682 map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
H A Dgen.c2073 cand_cache = hashmap__new(btfgen_hash_fn, btfgen_equal_fn, NULL); in btfgen_record_obj()
H A Dprog.c638 prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show()