Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gen_pool_alloc - allocate special memory from the pool*@pool: pool to allocate from*@size: number of bytes to allocate from the pool* Allocate the requested number of bytes from the specified pool.

Proto:static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size)

Type:unsigned long

Parameter:

TypeParameterName
struct gen_pool *pool
size_tsize
153  Return gen_pool_alloc_algo(pool, size, allocation function , data)
Caller
NameDescribe
mce_gen_pool_add