Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bfq_init_bfqq
Proto:static void bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_io_cq *bic, pid_t pid, int is_sync)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 ) |
5053 | INIT_HLIST_NODE( & de for woken_list, see below ) |
5056 | ce counter = 0 |
5057 | parent bfq_data = bfqd |
5059 | If bic Then Update the entity prio values; note that the new values will not* be used until the next (re)activation. |
5062 | If is_sync Then |
5068 | If Not bfq_class_idle(bfqq) Then bfq_mark_bfqq_has_short_ttime(bfqq) |
5071 | bfq_mark_bfqq_sync(bfqq) |
5073 | Else 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. |
Name | Describe |
---|---|
bfq_get_queue | |
bfq_init_queue |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |