函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\topology.c Create Date:2022-07-27 10:42:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_overlap_sched_group

函数原型:static void init_overlap_sched_group(struct sched_domain *sd, struct sched_group *sg)

返回类型:void

参数:

类型参数名称
struct sched_domain *sd
struct sched_group *sg
901  mask等于sched_domains_tmpmask2
902  sdd等于private
906  Build the balance mask; it contains only those CPUs that can arrive at this* group and should be considered to continue balancing
907  cpu等于cpumask_first_and - return the first cpu from *srcp1 & *srcp2*@src1p: the first input*@src2p: the second input* Returns >= nr_cpu_ids if no cpus set in both. See also cpumask_next_and().(sched_group_span(sg), mask)
909  sgc等于per_cpu_ptr(sgc, cpu)
910  如果atomic_inc_return( & ref)恒等于1则pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
912  否则WARN_ON_ONCE(!pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input)
920  sg_span等于sched_group_span(sg)
921  capacity等于SCHED_CAPACITY_SCALEpumask_weight - Count of bits in *srcp*@srcp: the cpumask to count bits (< nr_cpu_ids) in.
922  min_capacity等于SCHED_CAPACITY_SCALE
923  max_capacity等于SCHED_CAPACITY_SCALE
调用者
名称描述
build_overlap_sched_groups