Function report |
Source Code:lib\lru_cache.c |
Create Date:2022-07-28 07:16:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:lc_put - give up refcnt of @e*@lc: the lru cache to operate on*@e: the element to put* If refcnt reaches zero, the element is moved to the lru list,* and a %LC_STARVING (if set) is cleared.* Returns the new (post-decrement) refcnt.
Proto:unsigned int lc_put(struct lru_cache *lc, struct lc_element *e)
Type:unsigned int
Parameter:
Type | Parameter | Name |
---|---|---|
struct lru_cache * | lc | |
struct lc_element * | e |
561 | his is developers aid only.* it catches concurrent access (lack of locking on the users part) () |
564 | BUG_ON( we want to track a larger set of objects,* it needs to become arch independend u64 != r pending changes ) |
565 | If --refcnt == 0 Then |
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 |