Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:do_proc_douintvec_r

Proto:static int do_proc_douintvec_r(unsigned int *tbl_data, void __user *buffer, size_t *lenp, loff_t *ppos, int (*conv)(unsigned long *lvalp, unsigned int *valp, int write, void *data), void *data)

Type:int

Parameter:

TypeParameterName
unsigned int *tbl_data
void __user *buffer
size_t *lenp
loff_t *ppos
int (*conv
void *data
2495  err = 0
2498  left = lenp
2500  If conv( & lval, tbl_data, 0, data) Then
2501  err = -EINVAL
2502  Go to out
2505  err = proc_put_long - converts an integer to a decimal ASCII formatted string*@buf: the user buffer*@size: the size of the user buffer*@val: the integer to be converted*@neg: sign of the number, %TRUE for negative* In case of success %0 is returned and @buf and
2506  If err || Not left Then Go to out
2509  err = proc_put_char( & buffer, & left, '\n')
2511  out :
2512  lenp -= left
2513  ppos += lenp
2515  Return err
Caller
NameDescribe
__do_proc_douintvec