Symbol: hashmap
tools/bpf/bpftool/btf.c
1114
build_btf_type_table(struct hashmap *tab, enum bpf_obj_type type,
tools/bpf/bpftool/btf.c
1217
build_btf_tables(struct hashmap *btf_prog_table,
tools/bpf/bpftool/btf.c
1218
struct hashmap *btf_map_table)
tools/bpf/bpftool/btf.c
1243
struct hashmap *btf_prog_table,
tools/bpf/bpftool/btf.c
1244
struct hashmap *btf_map_table)
tools/bpf/bpftool/btf.c
1276
struct hashmap *btf_prog_table,
tools/bpf/bpftool/btf.c
1277
struct hashmap *btf_map_table)
tools/bpf/bpftool/btf.c
1311
show_btf(int fd, struct hashmap *btf_prog_table,
tools/bpf/bpftool/btf.c
1312
struct hashmap *btf_map_table)
tools/bpf/bpftool/btf.c
1349
struct hashmap *btf_prog_table;
tools/bpf/bpftool/btf.c
1350
struct hashmap *btf_map_table;
tools/bpf/bpftool/common.c
548
static struct hashmap *build_fn_table;
tools/bpf/bpftool/common.c
595
int build_pinned_obj_table(struct hashmap *tab,
tools/bpf/bpftool/common.c
624
void delete_pinned_obj_table(struct hashmap *map)
tools/bpf/bpftool/gen.c
2410
struct hashmap *cand_cache = NULL;
tools/bpf/bpftool/link.c
22
static struct hashmap *link_table;
tools/bpf/bpftool/main.c
35
struct hashmap *refs_table;
tools/bpf/bpftool/main.h
125
int build_pinned_obj_table(struct hashmap *table,
tools/bpf/bpftool/main.h
127
void delete_pinned_obj_table(struct hashmap *table);
tools/bpf/bpftool/main.h
128
__weak int build_obj_refs_table(struct hashmap **table,
tools/bpf/bpftool/main.h
130
__weak void delete_obj_refs_table(struct hashmap *table);
tools/bpf/bpftool/main.h
131
__weak void emit_obj_refs_json(struct hashmap *table, __u32 id,
tools/bpf/bpftool/main.h
133
__weak void emit_obj_refs_plain(struct hashmap *table, __u32 id,
tools/bpf/bpftool/main.h
276
static inline bool hashmap__empty(struct hashmap *map)
tools/bpf/bpftool/main.h
93
extern struct hashmap *refs_table;
tools/bpf/bpftool/map.c
24
static struct hashmap *map_table;
tools/bpf/bpftool/pids.c
100
int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type)
tools/bpf/bpftool/pids.c
184
void delete_obj_refs_table(struct hashmap *map)
tools/bpf/bpftool/pids.c
19
int build_obj_refs_table(struct hashmap **map, enum bpf_obj_type type)
tools/bpf/bpftool/pids.c
202
void emit_obj_refs_json(struct hashmap *map, __u32 id,
tools/bpf/bpftool/pids.c
23
void delete_obj_refs_table(struct hashmap *map) {}
tools/bpf/bpftool/pids.c
235
void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix)
tools/bpf/bpftool/pids.c
24
void emit_obj_refs_plain(struct hashmap *map, __u32 id, const char *prefix) {}
tools/bpf/bpftool/pids.c
25
void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {}
tools/bpf/bpftool/pids.c
31
static void add_ref(struct hashmap *map, struct pid_iter_entry *e)
tools/bpf/bpftool/prog.c
67
static struct hashmap *prog_table;
tools/lib/bpf/btf.c
1925
struct hashmap *str_off_map; /* map string offsets from src to dst */
tools/lib/bpf/btf.c
3702
struct hashmap *dedup_table;
tools/lib/bpf/btf.c
5232
static int btf_dedup_fill_unique_names_map(struct btf_dedup *d, struct hashmap *names_map)
tools/lib/bpf/btf.c
5266
static int btf_dedup_resolve_fwd(struct btf_dedup *d, struct hashmap *names_map, __u32 type_id)
tools/lib/bpf/btf.c
5334
struct hashmap *names_map;
tools/lib/bpf/btf_dump.c
110
struct hashmap *type_names;
tools/lib/bpf/btf_dump.c
115
struct hashmap *ident_names;
tools/lib/bpf/btf_dump.c
1641
static size_t btf_dump_name_dups(struct btf_dump *d, struct hashmap *name_map,
tools/lib/bpf/btf_dump.c
1665
struct hashmap *name_map)
tools/lib/bpf/btf_dump.c
224
static void btf_dump_free_names(struct hashmap *map)
tools/lib/bpf/btf_dump.c
653
static size_t btf_dump_name_dups(struct btf_dump *d, struct hashmap *name_map,
tools/lib/bpf/hashmap.c
101
static int hashmap_grow(struct hashmap *map)
tools/lib/bpf/hashmap.c
130
static bool hashmap_find_entry(const struct hashmap *map,
tools/lib/bpf/hashmap.c
154
int hashmap_insert(struct hashmap *map, long key, long value,
tools/lib/bpf/hashmap.c
206
bool hashmap_find(const struct hashmap *map, long key, long *value)
tools/lib/bpf/hashmap.c
220
bool hashmap_delete(struct hashmap *map, long key,
tools/lib/bpf/hashmap.c
38
void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn,
tools/lib/bpf/hashmap.c
51
struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
tools/lib/bpf/hashmap.c
55
struct hashmap *map = malloc(sizeof(struct hashmap));
tools/lib/bpf/hashmap.c
63
void hashmap__clear(struct hashmap *map)
tools/lib/bpf/hashmap.c
76
void hashmap__free(struct hashmap *map)
tools/lib/bpf/hashmap.c
85
size_t hashmap__size(const struct hashmap *map)
tools/lib/bpf/hashmap.c
90
size_t hashmap__capacity(const struct hashmap *map)
tools/lib/bpf/hashmap.c
95
static bool hashmap_needs_to_grow(struct hashmap *map)
tools/lib/bpf/hashmap.h
129
int hashmap_insert(struct hashmap *map, long key, long value,
tools/lib/bpf/hashmap.h
150
bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value);
tools/lib/bpf/hashmap.h
157
bool hashmap_find(const struct hashmap *map, long key, long *value);
tools/lib/bpf/hashmap.h
83
void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn,
tools/lib/bpf/hashmap.h
85
struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
tools/lib/bpf/hashmap.h
88
void hashmap__clear(struct hashmap *map);
tools/lib/bpf/hashmap.h
89
void hashmap__free(struct hashmap *map);
tools/lib/bpf/hashmap.h
91
size_t hashmap__size(const struct hashmap *map);
tools/lib/bpf/hashmap.h
92
size_t hashmap__capacity(const struct hashmap *map);
tools/lib/bpf/libbpf.c
5987
struct hashmap *cand_cache,
tools/lib/bpf/libbpf.c
6034
struct hashmap *cand_cache = NULL;
tools/lib/bpf/strset.c
19
struct hashmap *strs_hash;
tools/lib/bpf/strset.c
42
struct hashmap *hash;
tools/lib/bpf/usdt.c
911
static int allocate_spec_id(struct usdt_manager *man, struct hashmap *specs_hash,
tools/lib/bpf/usdt.c
974
struct hashmap *specs_hash = NULL;
tools/perf/builtin-trace.c
1553
struct hashmap *syscall_stats;
tools/perf/builtin-trace.c
1566
static struct hashmap *alloc_syscall_stats(void)
tools/perf/builtin-trace.c
1571
static void delete_syscall_stats(struct hashmap *syscall_stats)
tools/perf/builtin-trace.c
188
struct hashmap *syscall_stats;
tools/perf/builtin-trace.c
2639
struct hashmap *syscall_stats = ttrace->syscall_stats;
tools/perf/builtin-trace.c
4817
static struct syscall_entry *syscall__sort_stats(struct hashmap *syscall_stats)
tools/perf/builtin-trace.c
4845
struct hashmap *syscall_stats)
tools/perf/tests/expr.c
18
struct hashmap *ids1, *ids2;
tools/perf/ui/browsers/annotate.c
41
struct hashmap *type_hash;
tools/perf/util/annotate.h
208
struct hashmap *type_hash;
tools/perf/util/annotate.h
303
struct hashmap *samples;
tools/perf/util/bpf-trace-summary.c
172
static int update_thread_stats(struct hashmap *hash, struct syscall_key *map_key,
tools/perf/util/bpf-trace-summary.c
236
static int update_total_stats(struct hashmap *hash, struct syscall_key *map_key,
tools/perf/util/bpf-trace-summary.c
308
static int update_cgroup_stats(struct hashmap *hash, struct syscall_key *map_key,
tools/perf/util/bpf-trace-summary.c
382
struct hashmap schash;
tools/perf/util/bpf_lock_contention.c
25
static struct hashmap slab_hash;
tools/perf/util/evsel.h
127
struct hashmap *per_pkg_mask;
tools/perf/util/evsel.h
24
struct hashmap;
tools/perf/util/expr.c
106
struct hashmap *ids__union(struct hashmap *ids1, struct hashmap *ids2)
tools/perf/util/expr.c
121
struct hashmap *tmp = ids1;
tools/perf/util/expr.c
66
struct hashmap *ids__new(void)
tools/perf/util/expr.c
68
struct hashmap *hash;
tools/perf/util/expr.c
76
void ids__free(struct hashmap *ids)
tools/perf/util/expr.c
92
int ids__insert(struct hashmap *ids, const char *id)
tools/perf/util/expr.h
16
struct hashmap *ids;
tools/perf/util/expr.h
22
struct hashmap *ids__new(void);
tools/perf/util/expr.h
23
void ids__free(struct hashmap *ids);
tools/perf/util/expr.h
24
int ids__insert(struct hashmap *ids, const char *id);
tools/perf/util/expr.h
29
struct hashmap *ids__union(struct hashmap *ids1, struct hashmap *ids2);
tools/perf/util/expr.h
5
struct hashmap;
tools/perf/util/expr.y
32
struct hashmap *ids;
tools/perf/util/fncache.c
11
static struct hashmap *fncache;
tools/perf/util/fncache.c
28
static struct hashmap *fncache__get(void)
tools/perf/util/ftrace.h
21
struct hashmap *profile_hash;
tools/perf/util/hashmap.c
101
static int hashmap_grow(struct hashmap *map)
tools/perf/util/hashmap.c
130
static bool hashmap_find_entry(const struct hashmap *map,
tools/perf/util/hashmap.c
154
int hashmap_insert(struct hashmap *map, long key, long value,
tools/perf/util/hashmap.c
206
bool hashmap_find(const struct hashmap *map, long key, long *value)
tools/perf/util/hashmap.c
220
bool hashmap_delete(struct hashmap *map, long key,
tools/perf/util/hashmap.c
38
void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn,
tools/perf/util/hashmap.c
51
struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
tools/perf/util/hashmap.c
55
struct hashmap *map = malloc(sizeof(struct hashmap));
tools/perf/util/hashmap.c
63
void hashmap__clear(struct hashmap *map)
tools/perf/util/hashmap.c
76
void hashmap__free(struct hashmap *map)
tools/perf/util/hashmap.c
85
size_t hashmap__size(const struct hashmap *map)
tools/perf/util/hashmap.c
90
size_t hashmap__capacity(const struct hashmap *map)
tools/perf/util/hashmap.c
95
static bool hashmap_needs_to_grow(struct hashmap *map)
tools/perf/util/hashmap.h
129
int hashmap_insert(struct hashmap *map, long key, long value,
tools/perf/util/hashmap.h
150
bool hashmap_delete(struct hashmap *map, long key, long *old_key, long *old_value);
tools/perf/util/hashmap.h
157
bool hashmap_find(const struct hashmap *map, long key, long *value);
tools/perf/util/hashmap.h
83
void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn,
tools/perf/util/hashmap.h
85
struct hashmap *hashmap__new(hashmap_hash_fn hash_fn,
tools/perf/util/hashmap.h
88
void hashmap__clear(struct hashmap *map);
tools/perf/util/hashmap.h
89
void hashmap__free(struct hashmap *map);
tools/perf/util/hashmap.h
91
size_t hashmap__size(const struct hashmap *map);
tools/perf/util/hashmap.h
92
size_t hashmap__capacity(const struct hashmap *map);
tools/perf/util/hwmon_pmu.c
106
struct hashmap events;
tools/perf/util/metricgroup.c
290
static int setup_metric_events(const char *pmu, struct hashmap *ids,
tools/perf/util/pmu.h
145
struct hashmap *aliases;
tools/perf/util/pmu.h
17
struct hashmap;
tools/perf/util/s390-sample-raw.c
179
static struct hashmap *cache;
tools/perf/util/s390-sample-raw.c
200
struct hashmap *tmp = hashmap__new(get_counter_name_hash_fn,
tools/perf/util/stat.c
307
struct hashmap *mask = counter->per_pkg_mask;
tools/perf/util/threads.h
15
struct hashmap shard;
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
213
ctx.hashmap_fd = bpf_map__fd(ctx.skel->maps.hashmap);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
272
bpf_map__set_max_entries(skel->maps.hashmap, args.nr_entries);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
283
bpf_map__set_value_size(skel->maps.hashmap, args.value_size);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
286
bpf_map__set_key_size(skel->maps.hashmap, args.value_size);
tools/testing/selftests/bpf/benchs/bench_local_storage.c
115
static void __setup(struct bpf_program *prog, bool hashmap)
tools/testing/selftests/bpf/benchs/bench_local_storage.c
122
if (!hashmap)
tools/testing/selftests/bpf/benchs/bench_local_storage.c
146
if (hashmap)
tools/testing/selftests/bpf/benchs/bench_local_storage.c
157
if (hashmap)
tools/testing/selftests/bpf/prog_tests/for_each.c
178
max_entries = bpf_map__max_entries(skel->maps.hashmap);
tools/testing/selftests/bpf/prog_tests/for_each.c
183
err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key),
tools/testing/selftests/bpf/prog_tests/for_each.c
223
max_entries = bpf_map__max_entries(skel->maps.hashmap);
tools/testing/selftests/bpf/prog_tests/for_each.c
227
err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key),
tools/testing/selftests/bpf/prog_tests/for_each.c
31
max_entries = bpf_map__max_entries(skel->maps.hashmap);
tools/testing/selftests/bpf/prog_tests/for_each.c
35
err = bpf_map__update_elem(skel->maps.hashmap, &key, sizeof(key),
tools/testing/selftests/bpf/prog_tests/for_each.c
65
err = bpf_map__lookup_elem(skel->maps.hashmap, &key, sizeof(key), &val, sizeof(val), 0);
tools/testing/selftests/bpf/prog_tests/hashmap.c
264
struct hashmap *map;
tools/testing/selftests/bpf/prog_tests/hashmap.c
343
struct hashmap *map;
tools/testing/selftests/bpf/prog_tests/hashmap.c
415
struct hashmap *map;
tools/testing/selftests/bpf/prog_tests/hashmap.c
49
struct hashmap *map;
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
142
result = bpf_map_lookup_elem(&hashmap,
tools/testing/selftests/bpf/progs/bloom_filter_bench.c
40
} hashmap SEC(".maps");
tools/testing/selftests/bpf/progs/for_each_hash_map_elem.c
13
} hashmap SEC(".maps");
tools/testing/selftests/bpf/progs/for_each_hash_map_elem.c
71
bpf_for_each_map_elem(&hashmap, check_hash_elem, &data, 0);
tools/testing/selftests/bpf/progs/for_each_hash_map_elem.c
89
hashmap_elems = bpf_for_each_map_elem(&hashmap, check_hash_elem, &data, 0);
tools/testing/selftests/bpf/progs/for_each_hash_modify.c
13
} hashmap SEC(".maps");
tools/testing/selftests/bpf/progs/for_each_hash_modify.c
27
bpf_for_each_map_elem(&hashmap, cb, NULL, 0);
tools/testing/selftests/bpf/progs/for_each_multi_maps.c
19
} hashmap SEC(".maps");
tools/testing/selftests/bpf/progs/for_each_multi_maps.c
45
bpf_for_each_map_elem(&hashmap, check_map_elem, &data, 0);
tools/testing/selftests/bpf/trace_helpers.c
613
struct hashmap *map;