| /linux/include/linux/ |
| H A D | prandom.h | 16 struct rnd_state { struct 20 u32 prandom_u32_state(struct rnd_state *state); argument 21 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes); 22 void prandom_seed_full_state(struct rnd_state __percpu *pcpu_state); 40 static inline void prandom_seed_state(struct rnd_state *state, u64 seed) in prandom_seed_state()
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_random.c | 34 u64 i915_prandom_u64_state(struct rnd_state *rnd) in i915_prandom_u64_state() 46 struct rnd_state *state) in i915_prandom_shuffle() 71 struct rnd_state *state) in i915_random_reorder() 76 unsigned int *i915_random_order(unsigned int count, struct rnd_state *state) in i915_random_order() 92 u64 igt_random_offset(struct rnd_state *state, in igt_random_offset()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_client_blt.c | 300 struct rnd_state *prng) in tiled_blits_create_buffers() 420 struct rnd_state *prng) in verify_buffer() 536 tiled_blits_create(struct intel_engine_cs *engine, struct rnd_state *prng) in tiled_blits_create() 601 struct rnd_state *prng) in tiled_blits_prepare() 632 static int tiled_blits_bounce(struct tiled_blits *t, struct rnd_state *prng) in tiled_blits_bounce() 663 struct rnd_state *prng) in __igt_client_tiled_blits()
|
| H A D | i915_gem_coherency.c | 289 random_engine(struct drm_i915_private *i915, struct rnd_state *prng) in random_engine()
|
| H A D | huge_pages.c | 1351 static u32 igt_random_size(struct rnd_state *prng, in igt_random_size()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_migrate.c | 42 u32 sz, struct rnd_state *prng) in copy() 261 u32 sz, struct rnd_state *prng) in clear() 439 migrate_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_copy() 445 global_copy(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_copy() 477 migrate_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in migrate_clear() 483 global_clear(struct intel_migrate *migrate, u32 sz, struct rnd_state *prng) in global_clear() 679 struct rnd_state prng;
|
| H A D | selftest_rc6.c | 191 struct rnd_state *prng, in randomised_engines()
|
| H A D | selftest_timeline.c | 70 struct rnd_state prng; 282 static unsigned int random_engine(struct rnd_state *rnd) in random_engine() 289 struct rnd_state prng; in bench_sync()
|
| H A D | selftest_execlists.c | 3461 static int random_range(struct rnd_state *rnd, int min, int max) in random_range() 3466 static int random_priority(struct rnd_state *rnd) in random_priority() 3478 struct rnd_state prng;
|
| /linux/arch/x86/mm/ |
| H A D | kaslr.c | 84 struct rnd_state rand_state; in kernel_randomize_memory()
|
| /linux/lib/ |
| H A D | test_parman.c | 83 struct rnd_state rnd;
|
| H A D | rbtree_test.c | 31 static struct rnd_state rnd;
|
| /linux/net/sched/ |
| H A D | sch_netem.c | 120 struct rnd_state prng_state; 204 struct rnd_state *s = &p->prng_state; in get_crandom() 288 struct rnd_state *s = &q->prng.prng_state; in loss_gilb_ell()
|
| /linux/kernel/locking/ |
| H A D | test-ww_mutex.c | 397 struct rnd_state rng;
|
| /linux/lib/tests/ |
| H A D | string_kunit.c | 767 struct rnd_state state; in fill_random_string()
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe_ctlr.c | 2226 port_id = prandom_u32_state(&fip->rnd_state) & 0xffff; in fcoe_ctlr_vn_restart() 2251 prandom_seed_state(&fip->rnd_state, fip->lp->wwpn); in fcoe_ctlr_vn_start()
|
| /linux/kernel/bpf/ |
| H A D | core.c | 3116 static DEFINE_PER_CPU(struct rnd_state, bpf_user_rnd_state); 3131 struct rnd_state *state; in BPF_CALL_0()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 1428 DECLARE_PER_CPU(struct rnd_state, sched_rnd_state);
|
| H A D | core.c | 131 DEFINE_PER_CPU(struct rnd_state, sched_rnd_state);
|
| /linux/mm/ |
| H A D | slub.c | 3402 static DEFINE_PER_CPU(struct rnd_state, slab_rnd_state); 3736 struct rnd_state *state; in init_slab_obj_iter()
|