Home
last modified time | relevance | path

Searched refs:str_hash_fn (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c249 static size_t str_hash_fn(long a, void *ctx) in str_hash_fn() function
267 map = hashmap__new(str_hash_fn, str_equal_fn, NULL); in test_hashmap_ptr_iface()
/linux-6.6.21/tools/lib/bpf/
Dbtf_dump.c121 static size_t str_hash_fn(long key, void *ctx) in str_hash_fn() function
171 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()
177 d->ident_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()