函数逻辑报告 |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-27 11:19:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Funnel-locking scheme to scalably mediate many concurrent grace-period* requests
函数原型:static void srcu_funnel_gp_start(struct srcu_struct *ssp, struct srcu_data *sdp, unsigned long s, bool do_norm)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct srcu_struct * | ssp | |
struct srcu_data * | sdp | |
unsigned long | s | |
bool | do_norm |
641 | 如果Given a snapshot from rcu_seq_snap(), determine whether or not a* full update-side operation has occurred.且snp不等于mynode则返回 |
644 | 如果ULONG_CMP_GE(srcu_have_cbs[idx], s)则 |
645 | snp_seq等于srcu_have_cbs[idx] |
657 | 返回 |
659 | srcu_have_cbs[idx]等于s |
660 | 如果snp恒等于mynode则srcu_data_have_cbs[idx]或等于grpmask |
669 | 如果ULONG_CMP_LT(srcu_gp_seq_needed, s)则 |
674 | smp_store_release( & srcu_gp_seq_needed, s) |
名称 | 描述 |
---|---|
__call_srcu | Enqueue an SRCU callback on the srcu_data structure associated with* the current CPU and the specified srcu_struct structure, initiating* grace-period processing if it is not already running |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |