函数逻辑报告 |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-27 19:32:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bfq_init_bfqq
函数原型:static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_io_cq *bic, pid_t pid, int is_sync)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct bfq_data * | bfqd | |
struct bfq_queue * | bfqq | |
struct bfq_io_cq * | bic | |
pid_t | pid | |
int | is_sync |
5050 | RB_CLEAR_NODE( & service_tree member ) |
5051 | 初始化链表头 |
5053 | INIT_HLIST_NODE( & de for woken_list, see below ) |
5056 | ce counter 等于0 |
5057 | parent bfq_data 等于bfqd |
5059 | 如果bic则Update the entity prio values; note that the new values will not* be used until the next (re)activation. |
5062 | 如果is_sync则 |
5068 | 如果非bfq_class_idle(bfqq)则bfq_mark_bfqq_has_short_ttime(bfqq) |
5071 | bfq_mark_bfqq_sync(bfqq) |
5073 | 否则bfq_clear_bfqq_sync(bfqq) |
5077 | completion time of the last request 等于ktime_get_ns()加1 |
5079 | bfq_mark_bfqq_IO_bound(bfqq) |
5085 | udget expiration (in jiffies) 等于Return the farthest past time instant according to jiffies* macros. |
5088 | Start time of the current weight-raising period if* the @bfq-queue is being weight-raised, otherwise* finish time of the last weight-raising period.等于jiffies |
5089 | Value of wr start time when switching to soft rt等于Return the farthest past time instant according to jiffies* macros. |
名称 | 描述 |
---|---|
bfq_get_queue | |
bfq_init_queue |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |