Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mce\genpool.c Create Date:2022-07-28 08:01:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mce_gen_pool_create

Proto:static int mce_gen_pool_create(void)

Type:int

Parameter:Nothing

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  If Not tmpp Then Go to 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  If ret Then
130  gen_pool_destroy - destroy a special memory pool*@pool: pool to destroy* Destroy the specified special memory pool. Verifies that there are no* outstanding allocations.
131  Go to out
134  mce_evt_pool = tmpp
136  out :
137  Return ret
Caller
NameDescribe
mce_gen_pool_init