Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\zpool.c Create Date:2022-07-28 16:25:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void zpool_destroy_pool(struct zpool *zpool)

Type:void

Parameter:

TypeParameterName
struct zpool *zpool
216  pr_debug("destroying pool type %s\n", type)
218  spin_lock( & pools_lock)
219  deletes entry from list
220  spin_unlock( & pools_lock)
221  destroy(pool)
222  zpool_put_driver(driver)
223  kfree(zpool)
Caller
NameDescribe
zswap_pool_destroy