Function report |
Source Code:kernel\rcu\tree_exp.h |
Create Date:2022-07-28 10:28:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Funnel-lock acquisition for expedited grace periods
Proto:static bool exp_funnel_lock(unsigned long s)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | s |
| 277 | rdp = per_cpu_ptr( & rcu_data, These macros fold the SMP functionality into a single CPU system()) |
| 296 | If Common code for work-done checking. Then Return true |
| 301 | If ULONG_CMP_GE(exp_seq_rq, s) Then |
| 304 | spin_unlock( & exp_lock) |
| 310 | Return true |
| 312 | exp_seq_rq = s |
| 313 | spin_unlock( & exp_lock) |
| 317 | mutex_lock( & Serialize expedited GP. ) |
| 318 | fastpath : |
| 319 | If Common code for work-done checking. Then |
| 325 | Return false |
| 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 |