函数逻辑报告 | 
Source Code:kernel\sched\topology.c | 
Create Date:2022-07-27 10:42:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:init_rootdomain
函数原型:static int init_rootdomain(struct root_domain *rd)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct root_domain * | rd | 
| 492 | 如果非zalloc_cpumask_var( & span, GFP_KERNEL)则转到:out | 
| 494 | 如果非zalloc_cpumask_var( & online, GFP_KERNEL)则转到:free_span | 
| 496 | 如果非zalloc_cpumask_var( & dlo_mask, GFP_KERNEL)则转到:free_online | 
| 498 | 如果非zalloc_cpumask_var( & rto_mask, GFP_KERNEL)则转到:free_dlo_mask | 
| 507 | init_dl_bw( & dl_bw) | 
| 508 | 如果pudl_init - initialize the cpudl structure*@cp: the cpudl max-heap context不等于0则转到:free_rto_mask | 
| 511 | 如果pupri_init - initialize the cpupri structure*@cp: The cpupri context* Return: -ENOMEM on memory allocation failure.不等于0则转到:free_cpudl | 
| 513 | 返回:0 | 
| 515 | free_cpudl : | 
| 517 | free_rto_mask : | 
| 518 | 释放CPU掩码 | 
| 519 | free_dlo_mask : | 
| 520 | 释放CPU掩码 | 
| 521 | free_online : | 
| 522 | 释放CPU掩码 | 
| 523 | free_span : | 
| 524 | 释放CPU掩码 | 
| 525 | out : | 
| 526 | 返回:负ENOMEM | 
| 名称 | 描述 | 
|---|---|
| init_defrootdomain | |
| alloc_rootdomain | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |