函数逻辑报告 |
Source Code:kernel\locking\percpu-rwsem.c |
Create Date:2022-07-27 10:49:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return true if the modular sum of the sem->read_count per-CPU variable is* zero. If this sum is zero, then it is stable due to the fact that if any* newly arriving readers increment a given counter, they will immediately* decrement that same counter.
函数原型:static bool readers_active_check(struct percpu_rw_semaphore *sem)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_rw_semaphore * | sem |
130 | 如果per_cpu_sum( * read_count)不等于0则返回:false |
138 | smp_mb() |
140 | 返回:true |
名称 | 描述 |
---|---|
percpu_down_write |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |