| Function report | 
| Source Code: block\kyber-iosched.c | Create Date:2022-07-28 17:51:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:kyber_queue_data_alloc
Proto:static struct kyber_queue_data *kyber_queue_data_alloc(struct request_queue *q)
Type:struct kyber_queue_data
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct request_queue * | q | 
| 378 | cpu_latency = alloc_percpu_gfp(structkyber_cpu_latency, GFP_KERNEL | __GFP_ZERO) | 
| 380 | If Not cpu_latency Then Go to err_kqd | 
| 385 | When i < KYBER_NUM_DOMAINS cycle | 
| 387 | WARN_ON(!Batch size (number of requests we'll dispatch in a row) for each scheduling* domain.[i]) | 
| 391 | If ret Then | 
| 394 | Go to err_buckets | 
| 398 | When i < KYBER_OTHER cycle | 
| 399 | domain_p99[i] = -1 | 
| 403 | shift = kyber_sched_tags_shift(q) | 
| 404 | * Async request percentage, converted to per-word depth for * sbitmap_get_shallow(). = (1U << shift) * KYBER_ASYNC_PERCENT / 100U | 
| 406 | Return kqd | 
| 408 | err_buckets : | 
| 410 | err_kqd : | 
| 412 | err : | 
| Name | Describe | 
|---|---|
| kyber_init_sched | 
| 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 |