Home
last modified time | relevance | path

Searched refs:cpu_group (Results 1 – 15 of 15) sorted by relevance

/src/sys/sys/
H A Dsmp.h78 struct cpu_group { struct
79 struct cpu_group *cg_parent; /* Our parent group. */ argument
80 struct cpu_group *cg_child; /* Optional children groups. */ argument
90 typedef struct cpu_group *cpu_group_t; argument
152 struct cpu_group *smp_topo_1level(int l1share, int l1count, int l1flags);
153 struct cpu_group *smp_topo_2level(int l2share, int l2count, int l1share,
155 struct cpu_group *smp_topo_find(struct cpu_group *top, int cpu);
168 struct cpu_group *smp_topo(void);
169 struct cpu_group *smp_topo_alloc(u_int count);
170 struct cpu_group *smp_topo_none(void);
[all …]
/src/sys/kern/
H A Dsubr_smp.c55 struct cpu_group *
58 static struct cpu_group *group = NULL; in smp_topo_alloc()
71 struct cpu_group *
74 struct cpu_group *top; in smp_topo_none()
682 smp_topo_fill(struct cpu_group *cg) in smp_topo_fill()
692 struct cpu_group *
696 static struct cpu_group *top = NULL; in smp_topo()
767 smp_topo_addleaf(struct cpu_group *parent, struct cpu_group *child, int share, in smp_topo_addleaf()
798 struct cpu_group *
801 struct cpu_group *child; in smp_topo_1level()
[all …]
H A Dsched_ule.c269 struct cpu_group *tdq_cg; /* (c) Pointer to cpu topology. */
720 cpu_search_lowest(const struct cpu_group *cg, const struct cpu_search *s, in cpu_search_lowest()
802 cpu_search_highest(const struct cpu_group *cg, const struct cpu_search *s, in cpu_search_highest()
860 sched_lowest(const struct cpu_group *cg, cpuset_t *mask, int pri, int maxload, in sched_lowest()
879 sched_highest(const struct cpu_group *cg, cpuset_t *mask, int minload, in sched_highest()
893 sched_balance_group(struct cpu_group *cg) in sched_balance_group()
1072 struct cpu_group *cg, *parent; in tdq_idled()
1371 struct cpu_group *cg, *ccg; in sched_pickcpu()
2140 struct cpu_group *cg, *parent; in tdq_trysteal()
3332 sched_ule_find_child_with_core(int cpu, struct cpu_group *grp) in sched_ule_find_child_with_core()
[all …]
H A Dsched_shim.c166 struct cpu_group __read_mostly *cpu_top; /* CPU topology */
237 struct cpu_group *cg, int indent) in sysctl_kern_sched_topology_spec_internal()
/src/sys/powerpc/powernv/
H A Dplatform_powernv.c76 static struct cpu_group *powernv_smp_topo(platform_t plat);
486 static struct cpu_group *
487 cpu_group_init(struct cpu_group *group, struct cpu_group *parent, in cpu_group_init()
490 struct cpu_group *child; in cpu_group_init()
505 static struct cpu_group *
508 struct cpu_group *core, *dom, *root; in powernv_smp_topo()
/src/sys/powerpc/ps3/
H A Dplatform_ps3.c71 static struct cpu_group *ps3_smp_topo(platform_t);
252 static struct cpu_group *
/src/sys/netinet/
H A Dtcp_hpts_internal.h151 struct cpu_group **grps;
H A Dtcp_hpts.c1786 hpts_count_level(struct cpu_group *cg) in hpts_count_level()
1801 hpts_gather_grps(struct cpu_group **grps, int32_t *at, int32_t max, struct cpu_group *cg) in hpts_gather_grps()
1829 struct cpu_group *cpu_top; in tcp_hptsi_create()
1874 sz = (pace->grp_cnt * sizeof(struct cpu_group *)); in tcp_hptsi_create()
/src/sys/powerpc/pseries/
H A Dplatform_chrp.c81 static struct cpu_group *chrp_smp_topo(platform_t plat);
555 static struct cpu_group *
/src/sys/arm/arm/
H A Dmp_machdep.c324 struct cpu_group *
/src/sys/arm64/arm64/
H A Dmp_machdep.c424 struct cpu_group *
427 struct cpu_group *dom, *root; in cpu_topo()
/src/sys/x86/x86/
H A Dmp_x86.c832 x86topo_add_sched_group(struct topo_node *root, struct cpu_group *cg_root) in x86topo_add_sched_group()
962 struct cpu_group *
965 struct cpu_group *cg_root; in cpu_topo()
/src/sys/powerpc/powerpc/
H A Dplatform.c305 struct cpu_group *
H A Dplatform_if.m71 static struct cpu_group *platform_null_smp_topo(platform_t plat) struct
/src/sys/riscv/riscv/
H A Dmp_machdep.c296 struct cpu_group *