Home | History | Annotate | Download | only in blktrace

Lines Matching full:initval

58 static inline u32 jhash(const void *key, u32 length, u32 initval)
64 a = b = c = JHASH_GOLDEN_RATIO + length + initval;
102 static inline u32 jhash2(u32 *k, u32 length, u32 initval)
107 a = b = c = JHASH_GOLDEN_RATIO + (length<<2) + initval;
136 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval)
138 a += JHASH_GOLDEN_RATIO + initval;
139 b += JHASH_GOLDEN_RATIO + initval;
140 c += JHASH_GOLDEN_RATIO + initval;
147 static inline u32 jhash_2words(u32 a, u32 b, u32 initval)
149 return jhash_3words(0, a, b, initval);
152 static inline u32 jhash_1word(u32 a, u32 initval)
154 return jhash_3words(0, 0, a, initval);