Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:init_rootdomain

Proto:static int init_rootdomain(struct root_domain *rd)

Type:int

Parameter:

TypeParameterName
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 :
516  pudl_cleanup - clean up the cpudl structure*@cp: the cpudl max-heap context
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
Caller
NameDescribe
init_defrootdomain
alloc_rootdomain