函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sg_pool.c Create Date:2022-07-27 08:19:16
Last Modify:2022-05-21 18:25:42 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sg_pool_alloc

函数原型:static struct scatterlist *sg_pool_alloc(unsigned int nents, gfp_t gfp_mask)

返回类型:struct scatterlist

参数:

类型参数名称
unsigned intnents
gfp_tgfp_mask
66  sgp等于sg_poolssg_pool_index(nents)
67  返回:mempool_alloc - allocate an element from a specific memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@gfp_mask: the usual allocation bitmask.* this function only sleeps if the alloc_fn() function sleeps or