函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:uncharge_list

函数原型:static void uncharge_list(struct list_head *page_list)

返回类型:void

参数:

类型参数名称
struct list_head *page_list
6565  uncharge_gather_clear( & ug)
6571  next等于链表后项
6572  循环
6575  page等于list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(next, structpage, lru)
6576  next等于链表后项
6578  uncharge_page(page, & ug)
6579 next不等于page_list循环
6581  如果memcguncharge_batch( & ug)
调用者
名称描述
mem_cgroup_uncharge_listmem_cgroup_uncharge_list - uncharge a list of page*@page_list: list of pages to uncharge* Uncharge a list of pages previously charged with* mem_cgroup_try_charge() and mem_cgroup_commit_charge().