函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:page_counter_init

函数原型:static inline void page_counter_init(struct page_counter *counter, struct page_counter *parent)

返回类型:void

参数:

类型参数名称
struct page_counter *counter
struct page_counter *parent
40  atomic_long_set( & usage, 0)
41  max等于PAGE_COUNTER_MAX
42  parent等于parent
调用者
名称描述
mem_cgroup_css_alloc
hugetlb_cgroup_init