Lines Matching refs:initval
70 static inline u32 jhash(const void *key, u32 length, u32 initval) in jhash() argument
76 a = b = c = JHASH_INITVAL + length + initval; in jhash()
116 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() argument
121 a = b = c = JHASH_INITVAL + (length<<2) + initval; in jhash2()
148 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
150 a += initval; in __jhash_nwords()
151 b += initval; in __jhash_nwords()
152 c += initval; in __jhash_nwords()
159 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() argument
161 return __jhash_nwords(a, b, c, initval + JHASH_INITVAL + (3 << 2)); in jhash_3words()
164 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
166 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
169 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word() argument
171 return __jhash_nwords(a, 0, 0, initval + JHASH_INITVAL + (1 << 2)); in jhash_1word()