函数逻辑报告 |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-27 11:18:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return grace-period delay, zero if there are expedited grace* periods pending, SRCU_INTERVAL otherwise.
函数原型:static unsigned long srcu_get_delay(struct srcu_struct *ssp)
返回类型:unsigned long
参数:
类型 | 参数 | 名称 |
---|---|---|
struct srcu_struct * | ssp |
357 | 如果ULONG_CMP_LT(READ_ONCE(srcu_gp_seq), READ_ONCE(srcu_gp_seq_needed_exp))则返回:0 |
360 | 返回:SRCU_INTERVAL |
名称 | 描述 |
---|---|
cleanup_srcu_struct | leanup_srcu_struct - deconstruct a sleep-RCU structure*@ssp: structure to clean up.* Must invoke this after you are finished using a given srcu_struct that* was initialized via init_srcu_struct(), else you leak memory. |
srcu_gp_end | Note the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we |
srcu_funnel_gp_start | Funnel-locking scheme to scalably mediate many concurrent grace-period* requests |
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. |
process_srcu |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |