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

/linux-4.1.27/lib/
H A Drandom32.c163 #define LCG(x) ((x) * 69069U) /* super-duper LCG */ prandom_seed_early() macro
165 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); prandom_seed_early()
166 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); prandom_seed_early()
167 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); prandom_seed_early()
168 state->s4 = __seed(HWSEED() ^ LCG(state->s3), 128U); prandom_seed_early()

Completed in 153 milliseconds