函数逻辑报告 |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-27 11:18:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return true if the number of pre-existing readers is determined to* be zero.
函数原型:static bool srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct srcu_struct * | ssp | |
int | idx |
285 | unlocks等于Returns approximate total of the readers' ->srcu_unlock_count[] values* for the rank of per-CPU counters specified by idx. |
298 | smp_mb() |
321 | 返回:Returns approximate total of the readers' ->srcu_lock_count[] values* for the rank of per-CPU counters specified by idx.恒等于unlocks |
名称 | 描述 |
---|---|
try_check_zero | Wait until all readers counted by array index idx complete, but* loop an additional time if there is an expedited grace period pending.* The caller must ensure that ->srcu_idx is not changed while checking. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |