函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\genpool.c Create Date:2022-07-27 09:02:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mce_gen_pool_create

函数原型:static int mce_gen_pool_create(void)

返回类型:int

参数:

122  ret等于负ENOMEM
124  tmpp等于gen_pool_create - create a new special memory pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node id of the node the pool structure should be allocated on, or -1* Create a new special memory pool that can be used to
125  如果非tmpp则转到:out
128  ret等于gen_pool_add - add a new chunk of special memory to the pool*@pool: pool to add new memory chunk to*@addr: starting address of memory chunk to add to pool*@size: size in bytes of the memory chunk to add to pool*@nid: node id of the node the chunk
129  如果ret
130  销毁内存池
131  转到:out
134  mce_evt_pool等于tmpp
136  out :
137  返回:ret
调用者
名称描述
mce_gen_pool_init