函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:param_set_bool_enable_only

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

返回类型:int

参数:

类型参数名称
const char *val
const struct kernel_param *kp
314  err等于0
316  orig_value等于arg
317  dummy_kp等于kp
319  arg等于new_value
321  err等于Actually could be a bool or an int, for historical reasons.
322  如果err则返回:err
326  如果非new_valueorig_value则返回:负EROFS
329  如果new_valueerr等于Actually could be a bool or an int, for historical reasons.
332  返回:err