Lines Matching refs:a
24 #define __jhash_mix(a, b, c) \ argument
26 a -= b; a -= c; a ^= (c>>13); \
27 b -= c; b -= a; b ^= (a<<8); \
28 c -= a; c -= b; c ^= (b>>13); \
29 a -= b; a -= c; a ^= (c>>12); \
30 b -= c; b -= a; b ^= (a<<16); \
31 c -= a; c -= b; c ^= (b>>5); \
32 a -= b; a -= c; a ^= (c>>3); \
33 b -= c; b -= a; b ^= (a<<10); \
34 c -= a; c -= b; c ^= (b>>15); \
46 u32 a, b, c, len; in jhash() local
50 a = b = JHASH_GOLDEN_RATIO; in jhash()
54 a += (k[0] +((u32)k[1]<<8) +((u32)k[2]<<16) +((u32)k[3]<<24)); in jhash()
58 __jhash_mix(a,b,c); in jhash()
73 case 4 : a += ((u32)k[3]<<24); in jhash()
74 case 3 : a += ((u32)k[2]<<16); in jhash()
75 case 2 : a += ((u32)k[1]<<8); in jhash()
76 case 1 : a += k[0]; in jhash()
79 __jhash_mix(a,b,c); in jhash()
89 u32 a, b, c, len; in jhash2() local
91 a = b = JHASH_GOLDEN_RATIO; in jhash2()
96 a += k[0]; in jhash2()
99 __jhash_mix(a, b, c); in jhash2()
107 case 1 : a += k[0]; in jhash2()
110 __jhash_mix(a,b,c); in jhash2()
122 static inline u32 jhash_3words(u32 a, u32 b, u32 c, u32 initval) in jhash_3words() argument
124 a += JHASH_GOLDEN_RATIO; in jhash_3words()
128 __jhash_mix(a, b, c); in jhash_3words()
133 static inline u32 jhash_2words(u32 a, u32 b, u32 initval) in jhash_2words() argument
135 return jhash_3words(a, b, 0, initval); in jhash_2words()
138 static inline u32 jhash_1word(u32 a, u32 initval) in jhash_1word() argument
140 return jhash_3words(a, 0, 0, initval); in jhash_1word()