Searched refs:equal_fn (Results 1 - 5 of 5) sorted by relevance

/linux-master/tools/lib/bpf/
H A Dhashmap.h74 hashmap_equal_fn equal_fn; member in struct:hashmap
84 hashmap_equal_fn equal_fn, void *ctx);
86 hashmap_equal_fn equal_fn,
198 if (map->equal_fn(cur->key, (_key), map->ctx))
206 if (map->equal_fn(cur->key, (_key), map->ctx))
H A Dhashmap.c39 hashmap_equal_fn equal_fn, void *ctx)
42 map->equal_fn = equal_fn;
52 hashmap_equal_fn equal_fn,
59 hashmap__init(map, hash_fn, equal_fn, ctx);
143 if (map->equal_fn(cur->key, key, map->ctx)) {
38 hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, hashmap_equal_fn equal_fn, void *ctx) argument
51 hashmap__new(hashmap_hash_fn hash_fn, hashmap_equal_fn equal_fn, void *ctx) argument
/linux-master/tools/perf/util/
H A Dhashmap.h74 hashmap_equal_fn equal_fn; member in struct:hashmap
84 hashmap_equal_fn equal_fn, void *ctx);
86 hashmap_equal_fn equal_fn,
198 if (map->equal_fn(cur->key, (_key), map->ctx))
206 if (map->equal_fn(cur->key, (_key), map->ctx))
H A Dhashmap.c39 hashmap_equal_fn equal_fn, void *ctx)
42 map->equal_fn = equal_fn;
52 hashmap_equal_fn equal_fn,
59 hashmap__init(map, hash_fn, equal_fn, ctx);
143 if (map->equal_fn(cur->key, key, map->ctx)) {
38 hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, hashmap_equal_fn equal_fn, void *ctx) argument
51 hashmap__new(hashmap_hash_fn hash_fn, hashmap_equal_fn equal_fn, void *ctx) argument
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c19 static bool equal_fn(long a, long b, void *ctx) function
51 map = hashmap__new(hash_fn, equal_fn, NULL);
348 map = hashmap__new(collision_hash_fn, equal_fn, NULL);
419 map = hashmap__new(hash_fn, equal_fn, NULL);

Completed in 133 milliseconds