Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zpool_has_pool() - Check if the pool driver is available*@type: The type of the zpool to check (e

Proto:bool zpool_has_pool(char *type)

Type:bool

Parameter:

TypeParameterName
char *type
123  driver = his assumes @type is null-terminated.
125  If Not driver Then
126  try to load a kernel module("zpool-%s", type)
127  driver = his assumes @type is null-terminated.
130  If Not driver Then Return false
133  zpool_put_driver(driver)
134  Return true
Caller
NameDescribe
__zswap_pool_create_fallback
__zswap_param_setval must be a null-terminated string