Function report |
Source Code:kernel\ucount.c |
Create Date:2022-07-28 09:34:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:atomic_inc_below
Proto:static inline bool atomic_inc_below(atomic_t *v, int u)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| atomic_t * | v | |
| int | u |
| 178 | c = atomic_read(v) |
| 179 | cycle |
| 180 | If Value for the false possibility is greater at compile time(c >= u) Then Return false |
| 182 | old = atomic_cmpxchg(v, c, c + 1) |
| 183 | If Value is more likely to compile time(old == c) Then Return true |
| Name | Describe |
|---|---|
| inc_ucount |
| 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 |