Searched refs:hashmap__find (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/tools/perf/tests/ |
D | expr.c | 68 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAR", in test__expr() 70 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAZ", in test__expr() 72 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BOZO", in test__expr() 80 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT1,param=3/", in test__expr() 82 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT2,param=3/", in test__expr()
|
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | hashmap.c | 76 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-v5.15/tools/lib/bpf/ |
D | strset.c | 130 if (hashmap__find(set->strs_hash, (void *)new_off, (void **)&old_off)) in strset__find_str()
|
D | hashmap.h | 147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
|
D | hashmap.c | 206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
|
D | btf_dump.c | 1462 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
|
D | libbpf.c | 5155 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in bpf_core_apply_relo()
|
/Linux-v5.15/tools/perf/util/ |
D | hashmap.h | 147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
|
D | hashmap.c | 206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
|
D | expr.c | 159 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
|
D | metricgroup.c | 209 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group() 245 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group()
|
D | stat.c | 348 if (hashmap__find(mask, (void *)key, NULL)) in check_per_pkg()
|