Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ratelimit_state_init

Proto:static inline void ratelimit_state_init(struct ratelimit_state *rs, int interval, int burst)

Type:void

Parameter:

TypeParameterName
struct ratelimit_state *rs
intinterval
intburst
43  memset(rs, 0, size of rs )
45  raw_spin_lock_init( & protect the state )
46  interval = interval
47  burst = burst
Caller
NameDescribe
alloc_uid