Home
last modified time | relevance | path

Searched refs:rnd_state (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/lib/
Drandom32.c42 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()
/linux-3.4.99/include/linux/
Drandom.h43 struct rnd_state { struct
71 u32 prandom32(struct rnd_state *);
86 static inline void prandom32_seed(struct rnd_state *state, u64 seed) in prandom32_seed()
/linux-3.4.99/include/scsi/
Dlibfcoe.h140 struct rnd_state rnd_state; member
/linux-3.4.99/drivers/scsi/fcoe/
Dfcoe_ctlr.c2051 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()