函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称: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 :
516  pudl_cleanup - clean up the cpudl structure*@cp: the cpudl max-heap context
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