函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__prandom_timer

函数原型:static void __prandom_timer(struct timer_list *unused)

返回类型:void

参数:

类型参数名称
struct timer_list *unused
225  get_random_bytes( & entropy, 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等于jiffiesmsecs_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