Home
last modified time | relevance | path

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

/openbmc/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c197 unsigned long randnum; in performance_shuffle() local
204 randnum = ranval(prng_state) % (i + 1); in performance_shuffle()
206 size_group[i] = size_group[randnum]; in performance_shuffle()
207 size_group[randnum] = tmp; in performance_shuffle()
218 randnum += size_group[x].start; in performance_shuffle()
223 newtree[i] = newtree[randnum]; in performance_shuffle()
224 newtree[randnum] = tmp; in performance_shuffle()
231 unsigned long i, randnum; in full_shuffle() local
235 randnum = ranval(prng_state) % (i + 1); in full_shuffle()
237 newtree[i] = newtree[randnum]; in full_shuffle()
[all …]