Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\genalloc.h Create Date:2022-07-28 06:56:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, size_t size, int nid)

Type:int

Parameter:

TypeParameterName
struct gen_pool *pool
unsigned longaddr
size_tsize
intnid
122  Return gen_pool_add_virt(pool, addr, - 1, size, nid)
Caller
NameDescribe
mce_gen_pool_create