函数逻辑报告

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_virt

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

返回类型:int

参数:

类型参数名称
struct gen_pool *pool
unsigned longaddr
phys_addr_tphys
size_tsize
intnid
104  返回:gen_pool_add_owner- add a new chunk of special memory to the pool*@pool: pool to add new memory chunk to*@virt: virtual starting address of memory chunk to add to pool*@phys: physical starting address of memory chunk to add to pool*@size: size in bytes of
调用者
名称描述
gen_pool_addgen_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