/linux-master/tools/lib/bpf/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument 41 map->hash_fn = hash_fn; 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(ke [all...] |
H A D | hashmap.h | 73 hashmap_hash_fn hash_fn; member in struct:hashmap 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
H A D | btf.c | 3393 hashmap_hash_fn hash_fn = btf_dedup_identity_hash_fn; local 3400 hash_fn = btf_dedup_collision_hash_fn; 3405 d->dedup_table = hashmap__new(hash_fn, btf_dedup_equal_fn, NULL);
|
/linux-master/tools/perf/util/ |
H A D | hashmap.c | 38 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, argument 41 map->hash_fn = hash_fn; 51 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, argument 59 hashmap__init(map, hash_fn, equal_fn, ctx); 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(ke [all...] |
H A D | hashmap.h | 73 hashmap_hash_fn hash_fn; member in struct:hashmap 83 void hashmap__init(struct hashmap *map, hashmap_hash_fn hash_fn, 85 struct hashmap *hashmap__new(hashmap_hash_fn hash_fn, 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | hashmap.c | 14 static size_t hash_fn(long k, void *ctx) function 51 map = hashmap__new(hash_fn, equal_fn, NULL); 419 map = hashmap__new(hash_fn, equal_fn, NULL);
|
/linux-master/include/linux/mlx4/ |
H A D | qp.h | 130 u8 hash_fn; member in struct:mlx4_rss_context
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 1276 rss_context->hash_fn = MLX4_RSS_HASH_TOP; 1278 rss_context->hash_fn = MLX4_RSS_HASH_XOR; 1280 rss_context->hash_fn = MLX4_RSS_HASH_TOP;
|
/linux-master/kernel/dma/ |
H A D | debug.c | 238 static int hash_fn(struct dma_debug_entry *entry) function 254 int idx = hash_fn(entry);
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | qp.c | 2102 rss_context->hash_fn = MLX4_RSS_HASH_TOP;
|