Home
last modified time | relevance | path

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

/openbmc/linux/mm/kasan/
H A Dsw_tags.c36 static DEFINE_PER_CPU(u32, prng_state);
43 per_cpu(prng_state, cpu) = (u32)get_cycles(); in kasan_init_sw_tags()
65 u32 state = this_cpu_read(prng_state); in kasan_random_tag()
68 this_cpu_write(prng_state, state); in kasan_random_tag()
/openbmc/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c192 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
204 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
217 randnum = ranval(prng_state) % (index + 1); in performance_shuffle()
229 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle() argument
235 randnum = ranval(prng_state) % (i + 1); in full_shuffle()
247 ranctx prng_state; in shuffle() local
269 raninit(&prng_state, (u64 *)&seed); in shuffle()
272 performance_shuffle(newtree, length, &prng_state); in shuffle()
274 full_shuffle(newtree, length, &prng_state); in shuffle()
/openbmc/linux/net/sched/
H A Dsch_netem.c110 struct rnd_state prng_state; member
191 struct rnd_state *s = &p->prng_state; in get_crandom()
210 u32 rnd = prandom_u32_state(&q->prng.prng_state); in loss_4state()
275 struct rnd_state *s = &q->prng.prng_state; in loss_gilb_ell()
1066 prandom_seed_state(&q->prng.prng_state, q->prng.seed); in netem_change()
/openbmc/openbmc/poky/meta/classes/
H A Dicecc.bbclass81 # pixman - prng_state: TLS reference mismatches non-TLS reference, possibly due to
82 # pragma omp threadprivate(prng_state).