函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\random32.c Create Date:2022-07-27 07:16:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: 获取伪随机数的请求数

函数原型:void prandom_bytes(void *buf, size_t bytes)

返回类型:void

参数:

类型参数名称
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)
调用者
名称描述
__uuid_gen_common
test_nodelta_obj_get