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()
117 static inline u32 jhash2(const u32 *k, u32 length, u32 initval) in jhash2() argument
122 a = b = c = JHASH_INITVAL + (length<<2) + initval; in jhash2()
149 static inline u32 __jhash_nwords(u32 a, u32 b, u32 c, u32 initval) in __jhash_nwords() argument
151 a += initval; in __jhash_nwords()
152 b += initval; in __jhash_nwords()
153 c += initval; in __jhash_nwords()
160 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() argument
162 return __jhash_nwords(a, b, c, initval + JHASH_INITVAL + (3 << 2)); in jhash_3words()
165 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
167 return __jhash_nwords(a, b, 0, initval + JHASH_INITVAL + (2 << 2)); in jhash_2words()
170 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word() argument
172 return __jhash_nwords(a, 0, 0, initval + JHASH_INITVAL + (1 << 2)); in jhash_1word()