Function report |
Source Code:block\bfq-iosched.c |
Create Date:2022-07-28 17:57:58 |
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_rq
Proto:static struct bfq_queue *bfq_init_rq(struct request *rq)
Type:struct bfq_queue
Parameter:
Type | Parameter | Name |
---|---|---|
struct request * | rq |
6112 | bfqd = elevator_data |
6114 | is_sync = rq_is_sync(rq) |
6116 | bool new_queue = false |
6117 | bool bfqq_already_existing = TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., split = false |
6119 | If Value for the false possibility is greater at compile time(!icq) Then Return NULL |
6134 | bfq_check_ioprio_change(bic, bio) |
6136 | bfq_bic_update_cgroup(bic, bio) |
6138 | bfqq = bfq_get_bfqq_handle_split(bfqd, bic, bio, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., is_sync, & new_queue) |
6141 | If Value is more likely to compile time(!new_queue) Then |
6143 | If bfq_bfqq_coop(bfqq) && bfq_bfqq_split_coop(bfqq) Then |
6144 | bfq_log_bfqq(bfqd, bfqq, "breaking apart bfqq") |
6147 | If bfq_bfqq_in_large_burst(bfqq) Then * Same purpose as the previous fields for the value of the * field keeping the queue's belonging to a large burst = true |
6150 | bfqq = Returns NULL if a new bfqq should be allocated, or the old bfqq if this* was the last process referring to that bfqq. |
6151 | split = true |
6157 | Else bfqq_already_existing = true |
6163 | ce counter ++ |
6164 | bfq_log_bfqq(bfqd, bfqq, "get_request %p: bfqq %p, %d", rq, bfqq, ce counter ) |
6176 | If Value is more likely to compile time(bfqq != & fallback dummy bfqq for extreme OOM conditions ) && bfqq_process_refs(bfqq) == 1 Then |
6178 | If split Then |
6214 | Return bfqq |
Name | Describe |
---|---|
bfq_request_merged | |
bfq_requests_merged | This function is called to notify the scheduler that the requests* rq and 'next' have been merged, with 'next' going away |
bfq_insert_request |
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 |