函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:list_lru_shrink_count

函数原型:static inline unsigned long list_lru_shrink_count(struct list_lru *lru, struct shrink_control *sc)

返回类型:unsigned long

参数:

类型参数名称
struct list_lru *lru
struct shrink_control *sc
123  返回:list_lru_count_one(lru, current node being shrunk (for NUMA aware shrinkers) , current memcg being shrunk (for memcg aware shrinkers) )
调用者
名称描述
count_shadow_nodes
super_cache_scanOne thing we have to be careful of with a per-sb shrinker is that we don't* drop the last active reference to the superblock from within the shrinker.* If that happens we could trigger unregistering the shrinker from within the
super_cache_count