函数逻辑报告 |
Source Code:kernel\rcu\rcu_segcblist.c |
Create Date:2022-07-27 11:29:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Exchange the numeric length of the specified rcu_segcblist structure* with the specified value. This can cause the ->len field to disagree* with the actual number of callbacks on the structure. This exchange is
函数原型:static long rcu_segcblist_xchg_len(struct rcu_segcblist *rsclp, long v)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct rcu_segcblist * | rsclp | |
| long | v |
| 144 | smp_mb() |
| 145 | WRITE_ONCE(len, v) |
| 146 | smp_mb() |
| 147 | 返回:ret |
| 名称 | 描述 |
|---|---|
| rcu_segcblist_extract_count | Extract only the counts from the specified rcu_segcblist structure,* and place them in the specified rcu_cblist structure. This function* supports both callback orphaning and invocation, hence the separation* of counts and callbacks |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |