Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ype and compressor must be null-terminated

Proto:static struct zswap_pool *zswap_pool_find_get(char *type, char *compressor)

Type:struct zswap_pool

Parameter:

TypeParameterName
char *type
char *compressor
488  assert_spin_locked( & protects zswap_pools list modification )
491  If strcmp(tfm_name, compressor) Then Continue
493  If strcmp(zpool_get_type(zpool), type) Then Continue
496  If Not zswap_pool_get(pool) Then Continue
498  Return pool
501  Return NULL
Caller
NameDescribe
__zswap_param_setval must be a null-terminated string