Lines Matching defs:hash
3290 * index (`btf_dedup->dedup_table`), which maps type descriptor's signature hash
3378 * This is a map from any type's signature hash to a list of possible
3410 #define for_each_dedup_cand(d, node, hash) \
3411 hashmap__for_each_key_entry(d->dedup_table, node, hash)
3413 static int btf_dedup_table_add(struct btf_dedup *d, long hash, __u32 type_id)
3415 return hashmap__append(d->dedup_table, hash, type_id);
3628 /* replace BTF string data and hash with deduped ones */
3660 /* Calculate type signature hash of INT or TAG. */
3683 /* Calculate type signature hash of ENUM/ENUM64. */
3688 /* don't hash vlen, enum members and size to support enum fwd resolving */
3763 * Calculate type signature hash of STRUCT/UNION, ignoring referenced type IDs,
3810 * Calculate type signature hash of ARRAY, including referenced type IDs,
3860 * Calculate type signature hash of FUNC_PROTO, including referenced type IDs,
3956 /* VAR and DATASEC are never hash/deduplicated */
4000 * their type signature hash and comparing them with any possible canonical
4532 * For each struct/union type its type signature hash is calculated, taking
4535 * completely until after reference types deduplication phase. This type hash
4536 * is used to iterate over all potential canonical types, sharing same hash.
4548 * as canonical for itself and is added into btf_dedup->dedup_table hash map
4580 * This can happen due to hash collision. In such case just
4640 * hash (this time taking into account referenced type IDs) and loop over all