Function report |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-28 10:18:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return grace-period delay, zero if there are expedited grace* periods pending, SRCU_INTERVAL otherwise.
Proto:static unsigned long srcu_get_delay(struct srcu_struct *ssp)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct srcu_struct * | ssp |
357 | If ULONG_CMP_LT(READ_ONCE(srcu_gp_seq), READ_ONCE(srcu_gp_seq_needed_exp)) Then Return 0 |
360 | Return SRCU_INTERVAL |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |