rnd_state 79 arch/x86/mm/kaslr.c struct rnd_state rand_state; rnd_state 20 drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c struct rnd_state prng; rnd_state 20 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c struct rnd_state prng; rnd_state 111 drivers/gpu/drm/i915/gem/selftests/i915_gem_object_blt.c struct rnd_state prng; rnd_state 1408 drivers/gpu/drm/i915/gt/selftest_lrc.c static int random_range(struct rnd_state *rnd, int min, int max) rnd_state 1413 drivers/gpu/drm/i915/gt/selftest_lrc.c static int random_priority(struct rnd_state *rnd) rnd_state 1424 drivers/gpu/drm/i915/gt/selftest_lrc.c struct rnd_state prng; rnd_state 41 drivers/gpu/drm/i915/gt/selftest_timeline.c struct rnd_state prng; rnd_state 244 drivers/gpu/drm/i915/gt/selftest_timeline.c static unsigned int random_engine(struct rnd_state *rnd) rnd_state 251 drivers/gpu/drm/i915/gt/selftest_timeline.c struct rnd_state prng; rnd_state 33 drivers/gpu/drm/i915/selftests/i915_random.c u64 i915_prandom_u64_state(struct rnd_state *rnd) rnd_state 45 drivers/gpu/drm/i915/selftests/i915_random.c struct rnd_state *state) rnd_state 70 drivers/gpu/drm/i915/selftests/i915_random.c struct rnd_state *state) rnd_state 75 drivers/gpu/drm/i915/selftests/i915_random.c unsigned int *i915_random_order(unsigned int count, struct rnd_state *state) rnd_state 34 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state state__; \ rnd_state 40 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state name__ = I915_RND_STATE_INITIALIZER(i915_selftest.random_seed) rnd_state 43 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state name__ = I915_RND_STATE_INITIALIZER(prandom_u32_state(&(parent__))) rnd_state 45 drivers/gpu/drm/i915/selftests/i915_random.h u64 i915_prandom_u64_state(struct rnd_state *rnd); rnd_state 47 drivers/gpu/drm/i915/selftests/i915_random.h static inline u32 i915_prandom_u32_max_state(u32 ep_ro, struct rnd_state *state) rnd_state 53 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state *state); rnd_state 56 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state *state); rnd_state 59 drivers/gpu/drm/i915/selftests/i915_random.h struct rnd_state *state); rnd_state 39 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd); rnd_state 43 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd, rnd_state 144 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd, rnd_state 167 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd) rnd_state 174 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd) rnd_state 181 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd) rnd_state 188 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd) rnd_state 195 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd) rnd_state 217 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state *rnd, rnd_state 278 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state prng; rnd_state 334 drivers/gpu/drm/i915/selftests/scatterlist.c struct rnd_state prng; rnd_state 10 drivers/gpu/drm/lib/drm_random.c static inline u32 drm_prandom_u32_max_state(u32 ep_ro, struct rnd_state *state) rnd_state 16 drivers/gpu/drm/lib/drm_random.c struct rnd_state *state) rnd_state 28 drivers/gpu/drm/lib/drm_random.c unsigned int *drm_random_order(unsigned int count, struct rnd_state *state) rnd_state 12 drivers/gpu/drm/lib/drm_random.h struct rnd_state state__; \ rnd_state 18 drivers/gpu/drm/lib/drm_random.h struct rnd_state name__ = DRM_RND_STATE_INITIALIZER(seed__) rnd_state 21 drivers/gpu/drm/lib/drm_random.h struct rnd_state *state); rnd_state 24 drivers/gpu/drm/lib/drm_random.h struct rnd_state *state); rnd_state 43 drivers/mtd/tests/oobtest.c static struct rnd_state rnd_state; rnd_state 63 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); rnd_state 173 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); rnd_state 271 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, len); rnd_state 405 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 1); rnd_state 410 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 1); rnd_state 425 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 3); rnd_state 431 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 3); rnd_state 463 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 5); rnd_state 474 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 5); rnd_state 642 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 11); rnd_state 651 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, sz * cnt); rnd_state 677 drivers/mtd/tests/oobtest.c prandom_seed_state(&rnd_state, 11); rnd_state 682 drivers/mtd/tests/oobtest.c prandom_bytes_state(&rnd_state, writebuf, mtd->oobavail * 2); rnd_state 39 drivers/mtd/tests/pagetest.c static struct rnd_state rnd_state; rnd_state 45 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); rnd_state 65 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); rnd_state 86 drivers/mtd/tests/pagetest.c struct rnd_state old_state = rnd_state; rnd_state 100 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); rnd_state 106 drivers/mtd/tests/pagetest.c rnd_state = old_state; rnd_state 213 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); rnd_state 238 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); rnd_state 287 drivers/mtd/tests/pagetest.c prandom_bytes_state(&rnd_state, writebuf, pgsize); rnd_state 387 drivers/mtd/tests/pagetest.c prandom_seed_state(&rnd_state, 1); rnd_state 405 drivers/mtd/tests/pagetest.c prandom_seed_state(&rnd_state, 1); rnd_state 36 drivers/mtd/tests/subpagetest.c static struct rnd_state rnd_state; rnd_state 49 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); rnd_state 63 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); rnd_state 87 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); rnd_state 123 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); rnd_state 150 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize); rnd_state 187 drivers/mtd/tests/subpagetest.c prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); rnd_state 330 drivers/mtd/tests/subpagetest.c prandom_seed_state(&rnd_state, 1); rnd_state 346 drivers/mtd/tests/subpagetest.c prandom_seed_state(&rnd_state, 1); rnd_state 372 drivers/mtd/tests/subpagetest.c prandom_seed_state(&rnd_state, 3); rnd_state 390 drivers/mtd/tests/subpagetest.c prandom_seed_state(&rnd_state, 3); rnd_state 2232 drivers/scsi/fcoe/fcoe_ctlr.c port_id = prandom_u32_state(&fip->rnd_state) & 0xffff; rnd_state 2257 drivers/scsi/fcoe/fcoe_ctlr.c prandom_seed_state(&fip->rnd_state, fip->lp->wwpn); rnd_state 116 include/linux/random.h struct rnd_state { rnd_state 120 include/linux/random.h u32 prandom_u32_state(struct rnd_state *state); rnd_state 121 include/linux/random.h void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); rnd_state 122 include/linux/random.h void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state); rnd_state 157 include/linux/random.h static inline void prandom_seed_state(struct rnd_state *state, u64 seed) rnd_state 135 include/scsi/libfcoe.h struct rnd_state rnd_state; rnd_state 2000 kernel/bpf/core.c static DEFINE_PER_CPU(struct rnd_state, bpf_user_rnd_state); rnd_state 2015 kernel/bpf/core.c struct rnd_state *state; rnd_state 27 lib/interval_tree_test.c static struct rnd_state rnd; rnd_state 51 lib/random32.c static DEFINE_PER_CPU(struct rnd_state, net_rand_state) __latent_entropy; rnd_state 60 lib/random32.c u32 prandom_u32_state(struct rnd_state *state) rnd_state 81 lib/random32.c struct rnd_state *state = &get_cpu_var(net_rand_state); rnd_state 101 lib/random32.c void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) rnd_state 129 lib/random32.c struct rnd_state *state = &get_cpu_var(net_rand_state); rnd_state 136 lib/random32.c static void prandom_warmup(struct rnd_state *state) rnd_state 161 lib/random32.c static void prandom_seed_early(struct rnd_state *state, u32 seed, rnd_state 186 lib/random32.c struct rnd_state *state = &per_cpu(net_rand_state, i); rnd_state 205 lib/random32.c struct rnd_state *state = &per_cpu(net_rand_state, i); rnd_state 241 lib/random32.c void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state) rnd_state 246 lib/random32.c struct rnd_state *state = per_cpu_ptr(pcpu_state, i); rnd_state 430 lib/random32.c struct rnd_state state; rnd_state 445 lib/random32.c struct rnd_state state; rnd_state 30 lib/rbtree_test.c static struct rnd_state rnd; rnd_state 130 lib/test_bpf.c struct rnd_state rnd; rnd_state 83 lib/test_parman.c struct rnd_state rnd; rnd_state 2382 mm/slab.c struct rnd_state rnd_state; rnd_state 2401 mm/slab.c prandom_seed_state(&state->rnd_state, rand); rnd_state 2463 mm/slab.c rand = prandom_u32_state(&state.rnd_state); rnd_state 1342 mm/slab_common.c static void freelist_randomize(struct rnd_state *state, unsigned int *list, rnd_state 1363 mm/slab_common.c struct rnd_state state; rnd_state 34 net/netfilter/nft_meta.c static DEFINE_PER_CPU(struct rnd_state, nft_prandom_state); rnd_state 230 net/netfilter/nft_meta.c struct rnd_state *state = this_cpu_ptr(&nft_prandom_state); rnd_state 16 net/netfilter/nft_numgen.c static DEFINE_PER_CPU(struct rnd_state, nft_numgen_prandom_state); rnd_state 110 net/netfilter/nft_numgen.c struct rnd_state *state = this_cpu_ptr(&nft_numgen_prandom_state);