Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sg_pool.c Create Date:2022-07-28 07:20:32
Last Modify:2022-05-21 18:25:42 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sg_pool_free

Proto:static void sg_pool_free(struct scatterlist *sgl, unsigned int nents)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sgl
unsigned intnents
58  sgp = sg_pools + sg_pool_index(nents)
59  mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps.