函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:prandom_u32 - pseudo random number generator* A 32 bit pseudo-random number is generated using a fast* algorithm suitable for simulation. This algorithm is NOT* considered safe for cryptographic use.

函数原型:u32 prandom_u32(void)

返回类型:u32

参数:

81  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)
84  res等于prandom_u32_state(state)
85  The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(net_rand_state)
87  返回:res
调用者
名称描述
__lock_pin_lock
SYSCALL_DEFINE2