Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__prandom_timer

Proto:static void __prandom_timer(struct timer_list *unused)

Type:void

Parameter:

TypeParameterName
struct timer_list *unused
225  get_random_bytes( & entropy, size of entropy )
226  prandom_seed - add entropy to pseudo random number generator*@entropy: entropy value* Add some additional entropy to the prandom pool.
229  expires = 40 + prandom_u32_max - returns a pseudo-random number in interval [0, ep_ro)*@ep_ro: right open interval endpoint* Returns a pseudo-random number that is in interval [0, ep_ro). Note* that the result depends on PRNG being well distributed in [0, ~0U]
230  expires = jiffies + msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
232  add_timer - start a timer*@timer: the timer to be added* The kernel will do a ->function(@timer) callback from the* timer interrupt at the ->expires point in the future