Function report |
Source Code:kernel\bpf\helpers.c |
Create Date:2022-07-28 13:07:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bpf_spin_lock
Proto:static inline void __bpf_spin_lock(struct bpf_spin_lock *lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bpf_spin_lock * | lock |
| 248 | BUILD_BUG_ON - break compile if a condition is true( size of l != size of lock ) |
| 249 | Do |
| 250 | atomic_cond_read_relaxed(l, !VAL) |
| 251 | When atomic_xchg(l, 1) cycle |
| Name | Describe |
|---|---|
| ____bpf_spin_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 |