函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:list_lru_walk_one_irq

函数原型:unsigned long list_lru_walk_one_irq(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
288  nlru等于node[nid]
291  spin_lock_irq( & protects all lists on the node, including per cgroup )
292  ret等于__list_lru_walk_one(nlru, memcg_cache_id(memcg), isolate, cb_arg, nr_to_walk)
294  spin_unlock_irq( & protects all lists on the node, including per cgroup )
295  返回:ret
调用者
名称描述
list_lru_shrink_walk_irq