函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:subsys_initcall() for memory controller

函数原型:static int __init mem_cgroup_init(void)

返回类型:int

参数:

6811  puhp_setup_state_nocalls - Setup hotplug state callbacks without calling the* callbacks*@state: The state for which the calls are installed*@name: Name of the callback
6814  遍历可用CPU(cpu)
6815  INIT_WORK( & work, drain_local_stock)
6818  for_each_node(node)
6821  rtpn等于根据内存节点分配内存
6824  rb_root =
6825  rb_rightmost = NULL
6826  spin_lock_init( & lock)
6827  rb_tree_per_node[node]等于rtpn
6830  返回:0