函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static inline int lc_try_lock_for_transaction(struct lru_cache *lc)

返回类型:int

参数:

类型参数名称
struct lru_cache *lc
270  返回:非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).