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_inc_unless_negative
Proto:static inline bool atomic_inc_unless_negative(atomic_t *v)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
atomic_t * | v |
1136 | c = atomic_read(v) |
1138 | Do |
1139 | If Value for the false possibility is greater at compile time(c < 0) Then Return false |
1141 | When Not atomic_try_cmpxchg(v, & c, c + 1) cycle |
1143 | Return true |
Name | Describe |
---|---|
exclusive_event_init | The following implement mutual exclusion of events on "exclusive" pmus* (PERF_PMU_CAP_EXCLUSIVE) |
atomic_long_inc_unless_negative |
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 |