Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/perf/tests/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c77 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
125 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
352 if (CHECK(hashmap__find(map, k, NULL), "elem_find", in test_hashmap_empty()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
H A Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
H A Dbtf_dump.c1397 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
H A Dbtf.c1493 if (hashmap__find(btf->strs_hash, (void *)new_off, (void **)&old_off)) in btf__find_str()
H A Dlibbpf.c5782 if (!hashmap__find(cand_cache, type_key, (void **)&cand_ids)) { in bpf_core_apply_relo()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
H A Dexpr.c136 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
H A Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
H A Dmetricgroup.c201 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group()
237 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group()