函数逻辑报告 |
Source Code:block\blk-rq-qos.c |
Create Date:2022-07-27 19:07:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return true, if we can't increase the depth further by scaling
函数原型:bool rq_depth_calc_max_depth(struct rq_depth *rqd)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rq_depth * | rqd |
119 | bool ret = false |
128 | 如果queue_depth恒等于1则 |
135 | 否则 |
143 | depth等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedint, default_depth, queue_depth) |
145 | 如果scale_step大于0则depth等于1加depth减1右移两数取小(31, scale_step)位的值 |
147 | 否则如果scale_step小于0则 |
148 | maxd等于3乘queue_depth除4 |
150 | depth等于1加depth减1左移负scale_step位的值 |
160 | 返回:ret |
名称 | 描述 |
---|---|
rq_depth_scale_up | Returns true on success and false if scaling up wasn't possible |
rq_depth_scale_down | Scale rwb down. If 'hard_throttle' is set, do it quicker, since we* had a latency violation. Returns true on success and returns false if* scaling down wasn't possible. |
__wbt_update_limits |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |