Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:zswap_enabled_param_set

Proto:static int zswap_enabled_param_set(const char *val, const struct kernel_param *kp)

Type:int

Parameter:

TypeParameterName
const char *val
const struct kernel_param *kp
776  If atal error during init Then
777  pr_err("can't enable, initialization failed\n")
778  Return -ENODEV
780  If Not it completed, but couldn't create the initial pool && used by param callback function Then
781  pr_err("can't enable, no pool configured\n")
782  Return -ENODEV
785  Return Actually could be a bool or an int, for historical reasons.