Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\lru_cache.c Create Date:2022-07-28 07:16:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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)

Proto:bool lc_is_used(struct lru_cache *lc, unsigned int enr)

Type:bool

Parameter:

TypeParameterName
struct lru_cache *lc
unsigned intenr
297  e = __lc_find(lc, enr, 1)
298  Return e && refcnt