函数逻辑报告 |
Source Code:block\blk-iolatency.c |
Create Date:2022-07-27 19:21:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:rn 1 for enabling iolatency, return -1 for disabling iolatency, otherwise* return 0.
函数原型:static int iolatency_set_min_lat_nsec(struct blkcg_gq *blkg, u64 val)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blkcg_gq * | blkg | |
u64 | val |
752 | iolat等于blkg_to_lat(blkg) |
753 | oldval等于min_lat_nsec |
755 | min_lat_nsec等于val |
756 | cur_win_nsec等于max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, val << 4, BLKIOLATENCY_MIN_WIN_SIZE) |
757 | cur_win_nsec等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, cur_win_nsec, BLKIOLATENCY_MAX_WIN_SIZE) |
763 | blkcg_clear_delay(blkg) |
764 | 返回:负1 |
766 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |