函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_proc_douintvec_r

函数原型: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)

返回类型:int

参数:

类型参数名称
unsigned int *tbl_data
void __user *buffer
size_t *lenp
loff_t *ppos
int (*conv
void *data
2495  err等于0
2498  left等于lenp
2500  如果conv( & lval, tbl_data, 0, data)则
2501  err等于负EINVAL
2502  转到: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  如果err或非left则转到:out
2509  err等于proc_put_char( & buffer, & left, '\n')
2511  out :
2512  lenp减等于left
2513  ppos加等于lenp
2515  返回:err
调用者
名称描述
__do_proc_douintvec