函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempool.c Create Date:2022-07-27 15:27:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mempool_exit - exit a mempool initialized with mempool_init()*@pool: pointer to the memory pool which was initialized with* mempool_init().* Free all reserved elements in @pool and @pool itself. This function* only sleeps if the free_fn() function sleeps.

函数原型:void mempool_exit(mempool_t *pool)

返回类型:void

参数:

类型参数名称
mempool_t *pool
153  Current nr of elements at *elements 循环
154  element等于remove_element(pool)
155  free(element, pool_data)
157  释放内存
158  elements = NULL
调用者
名称描述
mempool_destroymempool_destroy - deallocate a memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().* Free all reserved elements in @pool and @pool itself. This function* only sleeps if the free_fn() function sleeps.
mempool_init_node
bioset_exitset_exit - exit a bioset initialized with bioset_init()* May be called on a zeroed but uninitialized bioset (i.e. allocated with* kzalloc()).
bioset_integrity_create
bioset_integrity_free