Function report |
Source Code:include\asm-generic\atomic-instrumented.h |
Create Date:2022-07-28 05:34:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:atomic_try_cmpxchg
Proto:static inline bool atomic_try_cmpxchg(atomic_t *v, int *old, int new)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| atomic_t * | v | |
| int * | old | |
| int | new |
| 693 | kasan_check_write(v, size of v ) |
| 694 | kasan_check_write(old, size of old ) |
| 695 | Return arch_atomic_try_cmpxchg(v, old, new) |
| Name | Describe |
|---|---|
| atomic_fetch_add_unless | 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 |
| atomic_inc_unless_negative | |
| atomic_dec_unless_positive | |
| atomic_dec_if_positive | |
| atomic_long_try_cmpxchg |
| 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 |