Function report |
Source Code:lib\lru_cache.c |
Create Date:2022-07-28 07:16:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__lc_find
Proto:static struct lc_element *__lc_find(struct lru_cache *lc, unsigned int enr, bool include_changing)
Type:struct lc_element
Parameter:
Type | Parameter | Name |
---|---|---|
struct lru_cache * | lc | |
unsigned int | enr | |
bool | include_changing |
255 | BUG_ON(! number of elements (indices) ) |
260 | If r pending changes != enr Then Continue |
262 | If r pending changes == we want to track a larger set of objects,* it needs to become arch independend u64 || include_changing Then Return e |
264 | Break |
266 | Return NULL |
Name | Describe |
---|---|
lc_find | lc_find - find element by label, if present in the hash table*@lc: The lru_cache object*@enr: element number* Returns the pointer to an element, if the element with the requested* "label" or element number is present in the hash table, |
lc_is_used | lc_is_used - find element by label*@lc: The lru_cache object*@enr: element number* Returns true, if the element with the requested "label" or element number is* present in the hash table, and is used (refcnt > 0) |
__lc_get |
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 |