Lines Matching refs:k
26 #define __rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) argument
61 const u8 *k = key; in jhash() local
68 a += (k[0] + ((u32)k[1]<<8) + ((u32)k[2]<<16) + ((u32)k[3]<<24)); in jhash()
69 b += (k[4] + ((u32)k[5]<<8) + ((u32)k[6]<<16) + ((u32)k[7]<<24)); in jhash()
70 c += (k[8] + ((u32)k[9]<<8) + ((u32)k[10]<<16) + ((u32)k[11]<<24)); in jhash()
73 k += 12; in jhash()
79 case 12: c += (u32)k[11]<<24; in jhash()
80 case 11: c += (u32)k[10]<<16; in jhash()
81 case 10: c += (u32)k[9]<<8; in jhash()
82 case 9 : c += k[8]; in jhash()
83 case 8 : b += (u32)k[7]<<24; in jhash()
84 case 7 : b += (u32)k[6]<<16; in jhash()
85 case 6 : b += (u32)k[5]<<8; in jhash()
86 case 5 : b += k[4]; in jhash()
87 case 4 : a += (u32)k[3]<<24; in jhash()
88 case 3 : a += (u32)k[2]<<16; in jhash()
89 case 2 : a += (u32)k[1]<<8; in jhash()
90 case 1 : a += k[0]; in jhash()
102 static inline u32 jhash2(u32 *k, u32 length, u32 initval) in jhash2() argument
111 a += k[0]; in jhash2()
112 b += k[1]; in jhash2()
113 c += k[2]; in jhash2()
116 k += 3; in jhash2()
122 case 3: c += k[2]; in jhash2()
123 case 2: b += k[1]; in jhash2()
124 case 1: a += k[0]; in jhash2()