Lines Matching refs:rnd_state
50 static DEFINE_PER_CPU(struct rnd_state, net_rand_state);
59 u32 prandom_u32_state(struct rnd_state *state) in prandom_u32_state()
80 struct rnd_state *state = &get_cpu_var(net_rand_state); in prandom_u32()
100 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) in prandom_bytes_state()
128 struct rnd_state *state = &get_cpu_var(net_rand_state); in prandom_bytes()
135 static void prandom_warmup(struct rnd_state *state) in prandom_warmup()
160 static void prandom_seed_early(struct rnd_state *state, u32 seed, in prandom_seed_early()
185 struct rnd_state *state = &per_cpu(net_rand_state, i); in prandom_seed()
204 struct rnd_state *state = &per_cpu(net_rand_state, i); in prandom_init()
241 void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state) in prandom_seed_full_state()
246 struct rnd_state *state = per_cpu_ptr(pcpu_state, i); in prandom_seed_full_state()
429 struct rnd_state state; in prandom_state_selftest()
444 struct rnd_state state; in prandom_state_selftest()