Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lc_try_get - get element by label, if present; do not change the active set*@lc: the lru cache to operate on*@enr: the label to look up* Finds an element in the cache, increases its usage count,* "touches" and returns it

Proto:struct lc_element *lc_try_get(struct lru_cache *lc, unsigned int enr)

Type:struct lc_element

Parameter:

TypeParameterName
struct lru_cache *lc
unsigned intenr
523  Return __lc_get(lc, enr, 0)