函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:proc_put_char

函数原型:static int proc_put_char(void __user **buf, size_t *size, char c)

返回类型:int

参数:

类型参数名称
void __user **buf
size_t *size
charc
2279  如果size
2280  __userbuffer等于buf
2281  如果put_user - Write a simple value into user space(c, * buffer)则返回:负EFAULT
2283  size自减, buffer自加
2284  buf等于buffer
2286  返回:0
调用者
名称描述
__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