Lines Matching defs:hash
40 #include <linux/hash.h>
2034 /* Architecture provides HASH_MIX and fold_hash() in <asm/hash.h> */
2073 * Fold two longs into one 32-bit hash value. This must be fast, but
2075 * work done before the hash value is used.
2111 * Return the hash of a string of known length. This is carfully
2137 /* Return the "hash_len" (hash and length) of a null-terminated string */
2163 * Calculate the length and hash of the path component, and
2193 /* Return the hash of a string of known length */
2196 unsigned long hash = init_name_hash(salt);
2198 hash = partial_name_hash((unsigned char)*name++, hash);
2199 return end_name_hash(hash);
2203 /* Return the "hash_len" (hash and length) of a null-terminated string */
2206 unsigned long hash = init_name_hash(salt);
2212 hash = partial_name_hash(c, hash);
2215 return hashlen_create(end_name_hash(hash), len);
2225 unsigned long hash = init_name_hash(salt);
2231 hash = partial_name_hash(c, hash);
2234 return hashlen_create(end_name_hash(hash), len);
2666 this->hash = full_name_hash(base, name, len);
2682 * to use its own hash..