函数逻辑报告 |
Source Code:kernel\sysctl.c |
Create Date:2022-07-27 10:11:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:读sysctl整数向量
函数原型:int proc_dointvec(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ctl_table * | table | |
int | write | |
void __user * | buffer | |
size_t * | lenp | |
loff_t * | ppos |
名称 | 描述 |
---|---|
sched_rt_handler | |
sched_rr_handler | |
sysctl_latencytop | |
tracepoint_printk_sysctl | |
stack_trace_sysctl | |
ftrace_enable_sysctl | |
sysctl_test_api_dointvec_null_tbl_data | Test that proc_dointvec will not try to use a NULL .data field even when the* length is non-zero. |
sysctl_test_api_dointvec_table_maxlen_unset | Similar to the previous test, we create a struct ctrl_table that has a .data* field that proc_dointvec cannot do anything with; however, this time it is* because we tell proc_dointvec that the size is 0. |
sysctl_test_api_dointvec_table_len_is_zero | Here we provide a valid struct ctl_table, but we try to read and write from* it using a buffer of zero length, so it should still fail in a similar way as* before. |
sysctl_test_api_dointvec_table_read_but_position_set | Test that proc_dointvec refuses to read when the file position is non-zero. |
sysctl_test_dointvec_read_happy_single_positive | Test that we can read a two digit number in a sufficiently size buffer.* Nothing fancy. |
sysctl_test_dointvec_read_happy_single_negative | Same as previous test, just now with negative numbers. |
sysctl_test_dointvec_write_happy_single_positive | Test that a simple positive write works. |
sysctl_test_dointvec_write_happy_single_negative | Same as previous test, but now with negative numbers. |
sysctl_test_api_dointvec_write_single_less_int_min | Test that writing a value smaller than the minimum possible value is not* allowed. |
sysctl_test_api_dointvec_write_single_greater_int_max | Test that writing the maximum possible value works. |
overcommit_ratio_handler | |
proc_mq_dointvec | |
dirty_writeback_centisecs_handler | sysctl handler for /proc/sys/vm/dirty_writeback_centisecs |
proc_ipc_dointvec | |
apparmor_dointvec |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |