函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zswap_enabled_param_set

函数原型:static int zswap_enabled_param_set(const char *val, const struct kernel_param *kp)

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
776  如果atal error during init
777  打印错误信息("can't enable, initialization failed\n")
778  返回:负ENODEV
780  如果非it completed, but couldn't create the initial pool used by param callback function
781  打印错误信息("can't enable, no pool configured\n")
782  返回:负ENODEV
785  返回:Actually could be a bool or an int, for historical reasons.