| Function report | 
| Source Code: block\bfq-iosched.c | Create Date:2022-07-28 17:57:14 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:bfq_get_queue
Proto:static struct bfq_queue *bfq_get_queue(struct bfq_data *bfqd, struct bio *bio, bool is_sync, struct bfq_io_cq *bic)
Type:struct bfq_queue
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct bfq_data * | bfqd | |
| struct bio * | bio | |
| bool | is_sync | |
| struct bfq_io_cq * | bic | 
| 5132 | struct bfq_queue * * async_bfqq = NULL | 
| 5139 | If Not bfqg Then | 
| 5141 | Go to out | 
| 5144 | If Not is_sync Then | 
| 5145 | async_bfqq = bfq_async_queue_prio(bfqd, bfqg, ioprio_class, ioprio) | 
| 5147 | bfqq = async_bfqq | 
| 5156 | If bfqq Then | 
| 5160 | bfq_log_bfqq(bfqd, bfqq, "allocated") | 
| 5161 | Else | 
| 5163 | bfq_log_bfqq(bfqd, bfqq, "using oom bfqq") | 
| 5164 | Go to out | 
| 5171 | If async_bfqq Then | 
| 5178 | ce counter ++ | 
| 5179 | bfq_log_bfqq(bfqd, bfqq, "get_queue, bfqq not in async: %p, %d", bfqq, ce counter ) | 
| 5181 | async_bfqq = bfqq | 
| 5184 | out : | 
| 5185 | ce counter ++ | 
| 5186 | bfq_log_bfqq(bfqd, bfqq, "get_queue, at end: %p, %d", bfqq, ce counter ) | 
| 5188 | Return bfqq | 
| Name | Describe | 
|---|---|
| bfq_check_ioprio_change | |
| bfq_get_bfqq_handle_split | 
| 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 |