函数逻辑报告 | 
Source Code:lib\ratelimit.c | 
Create Date:2022-07-27 07:11:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:__ratelimit - rate limiting*@rs: ratelimit_state data*@func: name of calling function* This enforces a rate limit: not more than @rs->burst callbacks* in every @rs->interval* RETURNS:* 0 means callbacks will be suppressed.* 1 means go ahead and do it.
函数原型:int ___ratelimit(struct ratelimit_state *rs, const char *func)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct ratelimit_state * | rs | |
| const char * | func | 
| 32 | 如果非interval则返回:1 | 
| 41 | 如果非raw_spin_trylock_irqsave( & protect the state , flags)则返回:0 | 
| 62 | 否则 | 
| 68 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| __printk_ratelimit | |
| devkmsg_write | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |