Searched refs:__seed (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
A D | prandom.h | 102 static inline u32 __seed(u32 x, u32 m) in __seed() function 116 state->s1 = __seed(i, 2U); in prandom_seed_state() 117 state->s2 = __seed(i, 8U); in prandom_seed_state() 118 state->s3 = __seed(i, 16U); in prandom_seed_state() 119 state->s4 = __seed(i, 128U); in prandom_seed_state()
|
/linux/lib/ |
A D | random32.c | 120 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state() 121 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state() 122 state->s3 = __seed(seeds[2], 16U); in prandom_seed_full_state() 123 state->s4 = __seed(seeds[3], 128U); in prandom_seed_full_state() 264 state->s1 = __seed(HWSEED() ^ LCG(seed), 2U); in prandom_seed_early() 265 state->s2 = __seed(HWSEED() ^ LCG(state->s1), 8U); in prandom_seed_early() 266 state->s3 = __seed(HWSEED() ^ LCG(state->s2), 16U); in prandom_seed_early() 267 state->s4 = __seed(HWSEED() ^ LCG(state->s3), 128U); in prandom_seed_early()
|
Completed in 4 milliseconds