Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\random32.c Create Date:2022-07-28 06:19:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().

Proto:u32 prandom_u32_state(struct rnd_state *state)

Type:u32

Parameter:

TypeParameterName
struct rnd_state *state
63  s1 = prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().(s1, 6U, 13U, 4294967294U, 18U)
64  s2 = prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().(s2, 2U, 27U, 4294967288U, 2U)
65  s3 = prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().(s3, 13U, 21U, 4294967280U, 7U)
66  s4 = prandom_u32_state - seeded pseudo-random number generator.*@state: pointer to state structure holding seeded state.* This is used for pseudo-randomness with no outside seeding.* For more random results, use prandom_u32().(s4, 3U, 12U, 4294967168U, 13U)
68  Return s1 ^ s2 ^ s3 ^ s4