函数逻辑报告 |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-27 19:30:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:If the weight-counter tree passed as input contains no counter for* the weight of the input queue, then add that counter; otherwise just* increment the existing counter.* Note that weight-counter trees contain few nodes in mostly symmetric* scenarios
函数原型:void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct rb_root_cached *root)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bfq_data * | bfqd | |
| struct bfq_queue * | bfqq | |
| struct rb_root_cached * | root |
| 727 | bool leftmost = true |
| 756 | 否则 |
| 782 | rb_insert_color_cached( & Weights tree member (see bfq_data's @queue_weights_tree), root, leftmost) |
| 785 | inc_counter : |
| 787 | ce counter 自加 |
| 名称 | 描述 |
|---|---|
| __bfq_entity_update_weight_prio | Update weight and priority of entity |
| bfq_add_bfqq_busy | Called when an inactive queue receives a new request. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |