函数逻辑报告

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

函数名称:从缓存中移除锁

函数原型:void lc_del(struct lru_cache *lc, struct lc_element *e)

返回类型:void

参数:

类型参数名称
struct lru_cache *lc
struct lc_element *e
311  his is developers aid only.* it catches concurrent access (lack of locking on the users part) ()
312  BUG() if e is not one of the elements tracked by lc (lc, e)
313  BUG_ON(refcnt)
315  we want to track a larger set of objects,* it needs to become arch independend u64 等于r pending changes 等于special label when on free list
316  hlist_del_init( & colision)
317  链表项移动到头部
318  RETURN()