Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_proc_dointvec_minmax_conv

Proto:static int do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data)

Type:int

Parameter:

TypeParameterName
bool *negp
unsigned long *lvalp
int *valp
intwrite
void *data
2669  param = data
2674  ip = If write Then tmp Else valp
2676  ret = do_proc_dointvec_conv(negp, lvalp, ip, write, data)
2677  If ret Then Return ret
2680  If write Then
2681  If min && min > tmp || max && max < tmp Then Return -EINVAL
2684  valp = tmp
2687  Return 0