Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\params.c Create Date:2022-07-28 09:29:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:param_set_bool_enable_only

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

Type:int

Parameter:

TypeParameterName
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  If err Then Return err
326  If Not new_value && orig_value Then Return -EROFS
329  If new_value Then err = Actually could be a bool or an int, for historical reasons.
332  Return err