Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Generate better values after random number generator* is fully initialized.

Proto:static void __prandom_reseed(bool late)

Type:void

Parameter:

TypeParameterName
boollate
267  static bool latch = false
268  DEFINE_SPINLOCK(lock)
280  If Not spin_trylock_irqsave( & lock, flags) Then Return
283  If latch && Not late Then Go to out
286  latch = true
287  prandom_seed_full_state( & net_rand_state)
288  out :
289  spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
prandom_reseed_late
prandom_reseed