Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:proc_put_char

Proto:static int proc_put_char(void __user **buf, size_t *size, char c)

Type:int

Parameter:

TypeParameterName
void __user **buf
size_t *size
charc
2279  If size Then
2280  __user * buffer = buf
2281  If Write a simple value into user space(c, * buffer) Then Return -EFAULT
2283  size--, buffer++
2284  buf = buffer
2286  Return 0
Caller
NameDescribe
__do_proc_dointvec
do_proc_douintvec_r
__do_proc_doulongvec_minmax
proc_do_large_bitmapproc_do_large_bitmap - read/write from/to a large bitmap*@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* The bitmap is stored at table->data and