Function report |
Source Code:include\linux\refcount.h |
Create Date:2022-07-28 05:38:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_sub_and_test - subtract from a refcount and test if it is 0*@i: amount to subtract from the refcount*@r: the refcount* Similar to atomic_dec_and_test(), but it will WARN, return false and* ultimately leak on underflow and will fail to decrement when
Proto:static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
int | i | |
refcount_t * | r |
253 | old = atomic_fetch_sub_release(i, & refs) |
260 | If Value for the false possibility is greater at compile time(old < 0 || old - i < 0) Then refcount_warn_saturate(r, REFCOUNT_SUB_UAF) |
263 | Return false |
Name | Describe |
---|---|
mem_cgroup_id_put_many | |
__io_double_put_req | |
io_double_put_req | |
io_wq_manager | Manager thread. Tasked with creating new workers, if we need them. |
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 |