函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:list_lru_walk_one

函数原型:unsigned long list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, list_lru_walk_cb isolate, void *cb_arg, unsigned long *nr_to_walk)

返回类型:unsigned long

参数:

类型参数名称
struct list_lru *lru
intnid
struct mem_cgroup *memcg
list_lru_walk_cbisolate
void *cb_arg
unsigned long *nr_to_walk
272  nlru等于node[nid]
275  加自旋锁
276  ret等于__list_lru_walk_one(nlru, memcg_cache_id(memcg), isolate, cb_arg, nr_to_walk)
278  自旋锁解锁
279  返回:ret
调用者
名称描述
list_lru_walk_node
list_lru_shrink_walk