Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lc_try_lock_for_transaction - can be used to stop lc_get() from changing the tracked set*@lc: the lru cache to operate on* Allows (expects) the set to be "dirty". Note that the reference counts and* order on the active and lru lists may still change

Proto:static inline int lc_try_lock_for_transaction(struct lru_cache *lc)

Type:int

Parameter:

TypeParameterName
struct lru_cache *lc
270  Return Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).