Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zpool_put_driver

Proto:static void zpool_put_driver(struct zpool_driver *driver)

Type:void

Parameter:

TypeParameterName
struct zpool_driver *driver
99  atomic_dec( & refcount)
100  module_put(owner)
Caller
NameDescribe
zpool_has_poolzpool_has_pool() - Check if the pool driver is available*@type: The type of the zpool to check (e
zpool_create_poolzpool_create_pool() - Create a new zpool*@type: The type of the zpool to create (e.g. zbud, zsmalloc)*@name: The name of the zpool (e.g. zram0, zswap)*@gfp: The GFP flags to use when allocating the pool.*@ops: The optional ops callback.
zpool_destroy_poolzpool_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