Function report |
Source Code:kernel\sched\topology.c |
Create Date:2022-07-28 09:42:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:build_overlap_sched_groups
Proto:static int build_overlap_sched_groups(struct sched_domain *sd, int cpu)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct sched_domain * | sd | |
| int | cpu |
| 930 | span = sched_domain_span(sd) |
| 941 | If pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Continue |
| 944 | sibling = per_cpu_ptr(sd, i) |
| 956 | If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Continue |
| 963 | sg_span = sched_group_span(sg) |
| 966 | init_overlap_sched_group(sd, sg) |
| 977 | Return 0 |
| 979 | fail : |
| 980 | free_sched_groups(first, 0) |
| 982 | Return -ENOMEM |
| Name | Describe |
|---|---|
| build_sched_domains | Build sched domains for a given set of CPUs and attach the sched domains* to the individual CPUs |
| 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 |