Lines Matching defs:hash
42 License is Public Domain. Commit hash:
366 /* jhash.h: Jenkins hash support.
370 * https://burtleburtle.net/bob/hash/
376 * These are functions for producing 32-bit hashes for hash table lookup.
378 * are externally useful functions. Routines to test the hash are included
384 * I've modified Bob's hash to be useful in the Linux kernel, and
408 /* __jhash_nwords - hash exactly 3, 2 or 1 word(s) */
498 static __u32 hash(const __u8 *data, __u32 datalen, __u32 initval) {
511 __u32 h = reuse_md->hash;
532 h = hash(hbuf, sizeof(hbuf), h);
566 h = hash(hbuf, sizeof(hbuf), h);
570 return hash(qhd->dcid, len, h) % num_socks;