函数逻辑报告 |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-27 11:26:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Similar to rcu_report_qs_rdp(), for which it is a helper function
函数原型:static void rcu_report_qs_rnp(unsigned long mask, struct rcu_node *rnp, unsigned long gps, unsigned long flags)__releases(rnp->lock)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | mask | |
struct rcu_node * | rnp | |
unsigned long | gps | |
unsigned long | flags |
1869 | oldmask等于0 |
1875 | 循环 |
1876 | 如果非CPUs or groups that need to switch in 按位与mask的值且mask或Track rsp->rcu_gp_seq. 不等于gps则 |
1883 | 返回 |
1885 | WARN_ON_ONCE(oldmask) |
1888 | CPUs or groups that need to switch in 与等于mask的反 |
1897 | 返回 |
1901 | 如果(cu_node tree? == NULL)则 |
1905 | 退出 |
1909 | rnp等于cu_node tree? |
名称 | 描述 |
---|---|
rcu_gp_init | Initialize a new grace period. Return false if no grace period required. |
rcu_report_unblock_qs_rnp | Record a quiescent state for all tasks that were previously queued* on the specified rcu_node structure and that were blocking the current* RCU grace period |
rcu_report_qs_rdp | Record a quiescent state for the specified CPU to that CPU's rcu_data* structure. This must be called from the specified CPU. |
force_qs_rnp | |
rcu_cpu_starting | Mark the specified CPU as being online so that subsequent grace periods* (both expedited and normal) will wait on it. Note that this means that* incoming CPUs are not allowed to use RCU read-side critical sections* until this function is called |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |