Home
last modified time | relevance | path

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

/scripts/gcc-plugins/
Drandomize_layout_plugin.c210 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
220 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
231 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
242 static void full_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in full_shuffle() argument
248 randnum = ranval(prng_state) % (i + 1); in full_shuffle()
260 ranctx prng_state; in shuffle() local
282 raninit(&prng_state, (u64 *)&seed); in shuffle()
285 performance_shuffle(newtree, length, &prng_state); in shuffle()
287 full_shuffle(newtree, length, &prng_state); in shuffle()