Home
last modified time | relevance | path

Searched refs:hashmap__find (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.1/tools/perf/tests/
Dexpr.c133 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", in test__expr()
135 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", in test__expr()
137 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", in test__expr()
146 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", in test__expr()
148 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", in test__expr()
156 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", in test__expr()
158 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", in test__expr()
175 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr()
184 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr()
223 TEST_ASSERT_VAL("source count", hashmap__find(ctx->ids, "EVENT1", in test__expr()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
124 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
349 if (CHECK(hashmap__find(map, k, NULL), "elem_find", in test_hashmap_empty()
/Linux-v6.1/tools/lib/bpf/
Dstrset.c130 if (hashmap__find(set->strs_hash, (void *)new_off, (void **)&old_off)) in strset__find_str()
Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
Dusdt.c899 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
Dbtf_dump.c1525 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
Dbtf.c1569 hashmap__find(p->str_off_map, (void *)(long)*str_off, &mapped_off)) { in btf_rewrite_str()
Dlibbpf.c5618 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in bpf_core_resolve_relo()
/Linux-v6.1/tools/perf/util/
Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
Dexpr.c224 return hashmap__find(ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
Dstat.c350 if (hashmap__find(mask, (void *)key, NULL)) { in check_per_pkg()
Dbpf-loader.c134 if (!hashmap__find(bpf_program_hash, prog, &priv)) in program_priv()
1174 if (!hashmap__find(bpf_map_hash, map, &priv)) in map_priv()
Dmetricgroup.c291 if (hashmap__find(ids, metric_id, (void **)&val_ptr)) { in setup_metric_events()
/Linux-v6.1/tools/bpf/bpftool/
Dgen.c2093 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in btfgen_record_obj()