Function report |
Source Code:kernel\jump_label.c |
Create Date:2022-07-28 13:48:35 |
| Last Modify:2020-03-17 20:59:06 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:static_key_disable_cpuslocked
Proto:void static_key_disable_cpuslocked(struct static_key *key)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct static_key * | key |
| 197 | STATIC_KEY_CHECK_USE(key) |
| 198 | lockdep_assert_cpus_held() |
| 200 | If atomic_read( & enabled) != 1 Then |
| 201 | WARN_ON_ONCE(atomic_read( & enabled) != 0) |
| 202 | Return |
| 205 | jump_label_lock() |
| 206 | If atomic_cmpxchg( & enabled, 1, 0) Then jump_label_update(key) |
| 208 | jump_label_unlock() |
| 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 |