Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
A Dexpr.c119 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", in test__expr()
121 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", in test__expr()
123 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", in test__expr()
132 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", in test__expr()
134 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", in test__expr()
142 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", in test__expr()
144 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", in test__expr()
153 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr()
185 TEST_ASSERT_VAL("source count", hashmap__find(ctx->ids, "EVENT1", in test__expr()
/linux/tools/testing/selftests/bpf/prog_tests/
A 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/tools/lib/bpf/
A Dstrset.c130 if (hashmap__find(set->strs_hash, (void *)new_off, (void **)&old_off)) in strset__find_str()
A Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
A Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
A Dbtf_dump.c1464 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
A Dlibbpf.c5445 !hashmap__find(cand_cache, type_key, (void **)&cands)) { in bpf_core_apply_relo()
/linux/tools/perf/util/
A Dhashmap.h147 bool hashmap__find(const struct hashmap *map, const void *key, void **value);
A Dhashmap.c206 bool hashmap__find(const struct hashmap *map, const void *key, void **value) in hashmap__find() function
A Dexpr.c232 return hashmap__find(ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id()
A Dstat.c348 if (hashmap__find(mask, (void *)key, NULL)) in check_per_pkg()
A Dmetricgroup.c288 if (hashmap__find(ids, metric_id, (void **)&val_ptr)) { in setup_metric_events()

Completed in 40 milliseconds