函数逻辑报告

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_walk

函数原型:static inline unsigned long list_lru_walk(struct list_lru *lru, list_lru_walk_cb isolate, void *cb_arg, unsigned long nr_to_walk)

返回类型:unsigned long

参数:

类型参数名称
struct list_lru *lru
list_lru_walk_cbisolate
void *cb_arg
unsigned longnr_to_walk
211  isolated等于0
214  for_each_node_state(nid, The node has regular memory )
215  isolated加等于list_lru_walk_node(lru, nid, isolate, cb_arg, & nr_to_walk)
217  如果nr_to_walk小于等于0则退出
220  返回:isolated
调用者
名称描述
shrink_dcache_sb缩小一个超级块的数据缓存