Lines Matching defs:length
62 * @length: the length of the key
66 * No alignment or length assumptions are made about the input key.
70 static inline u32 jhash(const void *key, u32 length, u32 initval)
76 a = b = c = JHASH_INITVAL + length + initval;
79 while (length > 12) {
84 length -= 12;
89 switch (length) {
112 * @length: the number of u32's in the key
117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval)
122 a = b = c = JHASH_INITVAL + (length<<2) + initval;
125 while (length > 3) {
130 length -= 3;
135 switch (length) {