Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prandom_bytes - get the requested number of pseudo-random bytes*@buf: where to copy the pseudo-random bytes to*@bytes: the requested number of bytes

Proto:void prandom_bytes(void *buf, size_t bytes)

Type:void

Parameter:

TypeParameterName
void *buf
size_tbytes
129  state = Must be an lvalue. Since @var must be a simple identifier,* we force a syntax error here if it isn't.(net_rand_state)
131  prandom_bytes_state - get the requested number of pseudo-random bytes*@state: pointer to state structure holding seeded state.*@buf: where to copy the pseudo-random bytes to*@bytes: the requested number of bytes
132  The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(net_rand_state)
Caller
NameDescribe
__uuid_gen_common
test_nodelta_obj_get