函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lru_cache.c Create Date:2022-07-27 08:15:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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)

函数原型:bool lc_is_used(struct lru_cache *lc, unsigned int enr)

返回类型:bool

参数:

类型参数名称
struct lru_cache *lc
unsigned intenr
297  e等于__lc_find(lc, enr, 1)
298  返回:erefcnt