Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/tests/
Dexpr.c68 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/
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-v5.15/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
Dbtf_dump.c1462 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
Dlibbpf.c5155 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in bpf_core_apply_relo()
/Linux-v5.15/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.c159 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
Dmetricgroup.c209 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()
Dstat.c348 if (hashmap__find(mask, (void *)key, NULL)) in check_per_pkg()