Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:41:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:init_rootdomain
Proto:static int init_rootdomain(struct root_domain *rd)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct root_domain * | rd |
| 492 | If Not zalloc_cpumask_var( & span, GFP_KERNEL) Then Go to out |
| 494 | If Not zalloc_cpumask_var( & online, GFP_KERNEL) Then Go to free_span |
| 496 | If Not zalloc_cpumask_var( & dlo_mask, GFP_KERNEL) Then Go to free_online |
| 498 | If Not zalloc_cpumask_var( & rto_mask, GFP_KERNEL) Then Go to free_dlo_mask |
| 507 | init_dl_bw( & dl_bw) |
| 508 | If pudl_init - initialize the cpudl structure*@cp: the cpudl max-heap context != 0 Then Go to free_rto_mask |
| 511 | If pupri_init - initialize the cpupri structure*@cp: The cpupri context* Return: -ENOMEM on memory allocation failure. != 0 Then Go to free_cpudl |
| 513 | Return 0 |
| 515 | free_cpudl : |
| 517 | free_rto_mask : |
| 518 | free_cpumask_var(rto_mask) |
| 519 | free_dlo_mask : |
| 520 | free_cpumask_var(dlo_mask) |
| 521 | free_online : |
| 522 | free_cpumask_var(online) |
| 523 | free_span : |
| 524 | free_cpumask_var(span) |
| 525 | out : |
| 526 | Return -ENOMEM |
| Name | Describe |
|---|---|
| init_defrootdomain | |
| alloc_rootdomain |
| 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 |