函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型:static inline int gen_pool_add(struct gen_pool *pool, unsigned long addr, size_t size, int nid)

返回类型:int

参数:

类型参数名称
struct gen_pool *pool
unsigned longaddr
size_tsize
intnid
122  返回:gen_pool_add_virt(pool, addr, - 1, size, nid)
调用者
名称描述
mce_gen_pool_create