函数逻辑报告 |
Source Code:kernel\sysctl-test.c |
Create Date:2022-07-27 15:13:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Test that writing the maximum possible value works.
函数原型:static void sysctl_test_api_dointvec_write_single_greater_int_max(struct kunit *test)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct kunit * | test |
347 | data等于0 |
348 | struct ctl_table table = { Text ID for /proc/sys, or zero = "foo", data = & data, maxlen = sizeof(int), mode = 0644, Callback for text formatting = 读sysctl整数向量, extra1 = & i_zero, extra2 = & i_one_hundred, } |
358 | pos等于0 |
360 | __user乘user_buffer等于buffer |
361 | greater_than_max等于INT_MAX加1 |
363 | KUNIT_ASSERT_GT() - An assertion that @left is greater than @right(test, greater_than_max, (unsignedlong)INT_MAX) |
367 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, - EINVAL, 读sysctl整数向量) |
370 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, 0, * ((int * )data)) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |