函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Generate better values after random number generator* is fully initialized.

函数原型:static void __prandom_reseed(bool late)

返回类型:void

参数:

类型参数名称
boollate
267  static bool latch = false
268  DEFINE_SPINLOCK(lock)
280  如果非spin_trylock_irqsave( & lock, flags)则返回
283  如果latch且非late则转到:out
286  latch = true
287  prandom_seed_full_state( & net_rand_state)
288  out :
289  spin_unlock_irqrestore( & lock, flags)
调用者
名称描述
prandom_reseed_late
prandom_reseed