Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dprandom.h16 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 Di915_random.c34 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 Di915_gem_client_blt.c300 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 Di915_gem_coherency.c289 random_engine(struct drm_i915_private *i915, struct rnd_state *prng) in random_engine()
H A Dhuge_pages.c1351 static u32 igt_random_size(struct rnd_state *prng, in igt_random_size()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_migrate.c42 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 Dselftest_rc6.c191 struct rnd_state *prng, in randomised_engines()
H A Dselftest_timeline.c70 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 Dselftest_execlists.c3461 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 Dkaslr.c84 struct rnd_state rand_state; in kernel_randomize_memory()
/linux/lib/
H A Dtest_parman.c83 struct rnd_state rnd;
H A Drbtree_test.c31 static struct rnd_state rnd;
/linux/net/sched/
H A Dsch_netem.c120 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 Dtest-ww_mutex.c397 struct rnd_state rng;
/linux/lib/tests/
H A Dstring_kunit.c767 struct rnd_state state; in fill_random_string()
/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c2226 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 Dcore.c3116 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 Dsched.h1428 DECLARE_PER_CPU(struct rnd_state, sched_rnd_state);
H A Dcore.c131 DEFINE_PER_CPU(struct rnd_state, sched_rnd_state);
/linux/mm/
H A Dslub.c3402 static DEFINE_PER_CPU(struct rnd_state, slab_rnd_state);
3736 struct rnd_state *state; in init_slab_obj_iter()