Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__do_proc_douintvec

Proto:static int __do_proc_douintvec(void *tbl_data, struct ctl_table *table, int write, 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
void *tbl_data
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
int (*conv
void *data
2528  If Not tbl_data || Not maxlen || Not lenp || ppos && Not write Then
2529  lenp = 0
2530  Return 0
2533  i = tbl_data
2534  vleft = maxlen / size of i
2540  If vleft != 1 Then
2541  lenp = 0
2542  Return -EINVAL
2545  If Not conv Then conv = do_proc_douintvec_conv
2548  If write Then Return do_proc_douintvec_w(i, table, buffer, lenp, ppos, conv, data)
2551  Return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data)
Caller
NameDescribe
do_proc_douintvec