函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zpool_put_driver

函数原型:static void zpool_put_driver(struct zpool_driver *driver)

返回类型:void

参数:

类型参数名称
struct zpool_driver *driver
99  atomic_dec( & refcount)
100  module_put(owner)
调用者
名称描述
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