Searched refs:rnd_state (Results 1 – 4 of 4) sorted by relevance
42 static DEFINE_PER_CPU(struct rnd_state, net_rand_state);51 u32 prandom32(struct rnd_state *state) in prandom32()73 struct rnd_state *state = &get_cpu_var(net_rand_state); in random32()94 struct rnd_state *state = &per_cpu(net_rand_state, i); in srandom32()109 struct rnd_state *state = &per_cpu(net_rand_state,i); in random32_init()137 struct rnd_state *state = &per_cpu(net_rand_state,i); in random32_reseed()
43 struct rnd_state { struct71 u32 prandom32(struct rnd_state *);86 static inline void prandom32_seed(struct rnd_state *state, u64 seed) in prandom32_seed()
140 struct rnd_state rnd_state; member
2051 port_id = prandom32(&fip->rnd_state) & 0xffff; in fcoe_ctlr_vn_restart()2076 prandom32_seed(&fip->rnd_state, fip->lp->wwpn); in fcoe_ctlr_vn_start()