Function report |
Source Code:include\linux\atomic-fallback.h |
Create Date:2022-07-28 05:34:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:atomic64_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic64_t*@a: the amount to add to v
Proto:static inline s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u)
Type:s64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| atomic64_t * | v | |
| s64 | a | |
| s64 | u |
| 2196 | c = atomic64_read(v) |
| 2198 | Do |
| 2199 | If Value for the false possibility is greater at compile time(c == u) Then Break |
| 2203 | Return c |
| Name | Describe |
|---|---|
| __bpf_map_inc_not_zero | map_idr_lock should have been held |
| atomic64_add_unless | atomic64_add_unless - add unless the number is already a given value*@v: pointer of type atomic64_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, if @v was not already @u.* Returns true if the addition was done. |
| 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 |