函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zpool_destroy_pool() - Destroy a zpool*@zpool: The zpool to destroy.* Implementations must guarantee this to be thread-safe,* however only when destroying different pools. The same* pool should only be destroyed once, and should not be used

函数原型:void zpool_destroy_pool(struct zpool *zpool)

返回类型:void

参数:

类型参数名称
struct zpool *zpool
216  pr_debug("destroying pool type %s\n", type)
218  加自旋锁
219  删除链表项
220  自旋锁解锁
221  destroy(pool)
222  zpool_put_driver(driver)
223  释放内存
调用者
名称描述
zswap_pool_destroy