Searched refs:hashmap__new (Results 1 – 18 of 18) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | hashmap.c | 51 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 D | kprobe_multi_test.c | |
| /linux/tools/perf/util/ |
| H A D | fncache.c | 25 fncache = hashmap__new(fncache__hash, fncache__equal, /*ctx=*/NULL); in fncache__init()
|
| H A D | expr.c | 70 hash = hashmap__new(key_hash, key_equal, NULL); in ids__new() 298 ctx->ids = hashmap__new(key_hash, key_equal, NULL); in expr__ctx_new()
|
| H A D | hashmap.c | 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
|
| H A D | s390-sample-raw.c | 200 struct hashmap *tmp = hashmap__new(get_counter_name_hash_fn, in get_counter_name()
|
| H A D | stat.c | 322 mask = hashmap__new(pkg_id_hash, pkg_id_equal, NULL); in check_per_pkg()
|
| H A D | pmu.c | 1215 pmu->aliases = hashmap__new(aliases__hash, aliases__equal, /*ctx=*/ NULL); in perf_pmu__init() 1330 pmu->aliases = hashmap__new(aliases__hash, aliases__equal, /*ctx=*/ NULL); in perf_pmu__create_placeholder_core_pmu()
|
| H A D | annotate.c | 139 src->samples = hashmap__new(sym_hist_hash, sym_hist_equal, NULL); in annotated_source__alloc_histograms()
|
| /linux/tools/lib/bpf/ |
| H A D | strset.c | 48 hash = hashmap__new(strset_hash_fn, strset_equal_fn, set); in strset__new()
|
| H A D | hashmap.c | 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, in hashmap__new() function
|
| H A D | libbpf.c | 6048 cand_cache = hashmap__new(bpf_core_hash_fn, bpf_core_equal_fn, NULL); in bpf_object__relocate_core()
|
| /linux/tools/bpf/bpftool/ |
| H A D | pids.c | 107 *map = hashmap__new(hash_fn_for_key_as_id, equal_fn_for_key_as_id, NULL); in build_obj_refs_table()
|
| H A D | btf.c | 1366 btf_prog_table = hashmap__new(hash_fn_for_key_as_id, in do_show() 1368 btf_map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
|
| H A D | map.c | 685 map_table = hashmap__new(hash_fn_for_key_as_id, in do_show()
|
| /linux/tools/perf/ui/browsers/ |
| H A D | annotate.c | 1120 browser->type_hash = hashmap__new(type_hash, type_equal, in annotate_browser__run() 1222 browser.type_hash = hashmap__new(type_hash, type_equal, /*ctx=*/NULL); in __hist_entry__tui_annotate()
|
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 1211 ftrace->profile_hash = hashmap__new(profile_hash, profile_equal, NULL); in prepare_func_profile()
|
| H A D | builtin-trace.c | 1568 return hashmap__new(syscall_id_hash, syscall_id_equal, NULL); in alloc_syscall_stats()
|