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:atomic_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, so long as @v was not already @u.* Returns original value of @v
Proto:static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| atomic_t * | v | |
| int | a | |
| int | u | 
| 1086 | c = atomic_read(v) | 
| 1088 | Do | 
| 1089 | If Value for the false possibility is greater at compile time(c == u) Then Break | 
| 1093 | Return c | 
| Name | Describe | 
|---|---|
| static_key_slow_try_dec | |
| atomic_add_unless | atomic_add_unless - add unless the number is already a given value*@v: pointer of type atomic_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. | 
| atomic_long_fetch_add_unless | 
| 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  |