Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/tests/
A Dexpr.c134 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAR", &val_ptr)); in test__expr()
135 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BAZ", &val_ptr)); in test__expr()
136 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "BOZO", &val_ptr)); in test__expr()
144 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT1,param=3@", &val_ptr)); in test__expr()
145 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "EVENT2,param=3@", &val_ptr)); in test__expr()
152 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event1", &val_ptr)); in test__expr()
153 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, "dash-event2", &val_ptr)); in test__expr()
169 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr()
178 TEST_ASSERT_VAL("find ids", hashmap__find(ctx->ids, in test__expr()
217 TEST_ASSERT_VAL("source count", hashmap__find(ctx->ids, "EVENT1", &val_ptr)); in test__expr()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dhashmap.c76 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
123 if (CHECK(!hashmap__find(map, k, &oldv), "elem_find", in test_hashmap_generic()
311 CHECK(!hashmap__find(map, "b", &value), "hashmap__find", "can't find value for 'b'\n"); in test_hashmap_ptr_iface()
429 if (CHECK(hashmap__find(map, k, NULL), "elem_find", in test_hashmap_empty()
/linux-6.3-rc2/tools/lib/bpf/
A Dstrset.c130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str()
A Dhashmap.h169 #define hashmap__find(map, key, value) \ macro
A Dusdt.c895 if (hashmap__find(specs_hash, target->spec_str, &tmp)) { in allocate_spec_id()
A Dbtf.c1583 hashmap__find(p->str_off_map, *str_off, &mapped_off)) { in btf_rewrite_str()
4580 if (!hashmap__find(names_map, t->name_off, &cand_id)) in btf_dedup_resolve_fwd()
A Dbtf_dump.c1643 (void)hashmap__find(name_map, orig_name, &dup_cnt); in btf_dump_name_dups()
A Dlibbpf.c5646 !hashmap__find(cand_cache, local_id, &cands)) { in bpf_core_resolve_relo()
/linux-6.3-rc2/tools/perf/util/
A Dhashmap.h169 #define hashmap__find(map, key, value) \ macro
A Dexpr.c221 return hashmap__find(ctx->ids, id, data) ? 0 : -1; in expr__get_id()
A Dstat.c385 if (hashmap__find(mask, key, NULL)) { in check_per_pkg()
A Dbpf-loader.c130 if (!hashmap__find(bpf_program_hash, prog, &priv)) in program_priv()
1169 if (!hashmap__find(bpf_map_hash, map, &priv)) in map_priv()
A Dmetricgroup.c293 if (hashmap__find(ids, metric_id, &val_ptr)) { in setup_metric_events()
/linux-6.3-rc2/tools/bpf/bpftool/
A Dgen.c2085 !hashmap__find(cand_cache, relo->type_id, &cands)) { in btfgen_record_obj()

Completed in 54 milliseconds