函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lc_committed - tell @lc that pending changes have been recorded*@lc: the lru cache to operate on* User is expected to serialize on explicit lc_try_lock_for_transaction()* before the transaction is started, and later needs to lc_unlock() explicitly

函数原型:void lc_committed(struct lru_cache *lc)

返回类型:void

参数:

类型参数名称
struct lru_cache *lc
538  his is developers aid only.* it catches concurrent access (lack of locking on the users part) ()
541  changed先自加
542  we want to track a larger set of objects,* it needs to become arch independend u64 等于r pending changes
543  链表项移动到头部
545  number of elements currently on to_be_changed list 等于0
546  RETURN()