Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\random.h Create Date:2022-07-28 05:51:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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]

Proto:static inline u32 prandom_u32_max(u32 ep_ro)

Type:u32

Parameter:

TypeParameterName
u32ep_ro
141  Return prandom_u32() * ep_ro >> 32
Caller
NameDescribe
__prandom_timer
test_rhltable
__test