Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:proc_douintvec_minmax - read a vector of unsigned ints with min/max values*@table: the sysctl table*@write: %TRUE if this is a write to the sysctl file*@buffer: the user buffer*@lenp: the size of the user buffer*@ppos: file position* Reads/writes up to

Proto:int proc_douintvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
struct ctl_table *table>extra1 (min) and table->extra2 (max). There is a final sanity
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
2778  struct do_proc_douintvec_minmax_conv_param param = {min = (unsigned int * )extra1, max = (unsigned int * )extra2, }
2782  Return do_proc_douintvec(>extra1 (min) and table->extra2 (max). There is a final sanity, write, buffer, lenp, ppos, do_proc_douintvec_minmax_conv, & param)