Function report |
Source Code:block\blk-rq-qos.c |
Create Date:2022-07-28 17:32:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Increment 'v', if 'v' is below 'below'. Returns true if we succeeded,* false if 'v' + 1 would be bigger than 'below'.
Proto:static bool atomic_inc_below(atomic_t *v, unsigned int below)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| atomic_t * | v | |
| unsigned int | below |
| 11 | cur = atomic_read(v) |
| 13 | cycle |
| 18 | old = atomic_cmpxchg(v, cur, cur + 1) |
| 24 | Return true |
| Name | Describe |
|---|---|
| rq_wait_inc_below |
| 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 |