Function report | 
Source Code:kernel\rcu\srcutree.c | 
Create Date:2022-07-28 10:18:51 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:static void __call_srcu(struct srcu_struct *ssp, struct callback_head *rhp, rcu_callback_t func, bool do_norm)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct srcu_struct * | ssp | |
| struct callback_head * | rhp | |
| rcu_callback_t | func | |
| bool | do_norm | 
| 840 | bool needexp = false | 
| 841 | bool needgp = false | 
| 849 | WARN_ONCE(1, "call_srcu(): Leaked duplicate callback\n") | 
| 850 | Return | 
| 854 | local_irq_save(flags) | 
| 855 | sdp = this_cpu_ptr(sda) | 
| 857 | rcu_segcblist_enqueue( & srcu_cblist, rhp, false) | 
| 862 | If ULONG_CMP_LT(srcu_gp_seq_needed, s) Then | 
| 863 | srcu_gp_seq_needed = s | 
| 864 | needgp = true | 
| 866 | If Not do_norm && ULONG_CMP_LT(srcu_gp_seq_needed_exp, s) Then | 
| 867 | srcu_gp_seq_needed_exp = s | 
| 868 | needexp = true | 
| Name | Describe | 
|---|---|
| call_srcu | all_srcu() - Queue a callback for invocation after an SRCU grace period*@ssp: srcu_struct in queue the callback*@rhp: structure to be used for queueing the SRCU callback | 
| __synchronize_srcu | Helper function for synchronize_srcu() and synchronize_srcu_expedited(). | 
| 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  |