Function report |
Source Code:kernel\locking\osq_lock.c |
Create Date:2022-07-28 09:51:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:decode_cpu
Proto:static inline struct optimistic_spin_node *decode_cpu(int encoded_cpu_val)
Type:struct optimistic_spin_node
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | encoded_cpu_val |
| 32 | cpu_nr = encoded_cpu_val - 1 |
| 34 | Return per_cpu_ptr( & An MCS like lock especially tailored for optimistic spinning for sleeping* lock implementations (mutex, rwsem, etc), cpu_nr) |
| Name | Describe |
|---|---|
| osq_lock |
| 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 |