Searched refs:__seed (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Dprandom.h29 static inline u32 __seed(u32 x, u32 m) function
43 state->s1 = __seed(i, 2U);
44 state->s2 = __seed(i, 8U);
45 state->s3 = __seed(i, 16U);
46 state->s4 = __seed(i, 128U);
/linux-master/lib/
H A Drandom32.c119 state->s1 = __seed(seeds[0], 2U);
120 state->s2 = __seed(seeds[1], 8U);
121 state->s3 = __seed(seeds[2], 16U);
122 state->s4 = __seed(seeds[3], 128U);
251 state->s1 = __seed(LCG(seed), 2U);
252 state->s2 = __seed(LCG(state->s1), 8U);
253 state->s3 = __seed(LCG(state->s2), 16U);
254 state->s4 = __seed(LCG(state->s3), 128U);

Completed in 125 milliseconds