Home
last modified time | relevance | path

Searched refs:cpu_t (Results 1 – 25 of 170) sorted by relevance

1234567

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpupm_mach.h74 int (*cpus_init)(cpu_t *);
75 void (*cpus_fini)(cpu_t *);
77 void (*cpus_stop)(cpu_t *);
176 extern void cpupm_init(cpu_t *);
177 extern void cpupm_fini(cpu_t *);
178 extern void cpupm_start(cpu_t *);
179 extern void cpupm_stop(cpu_t *);
180 extern boolean_t cpupm_is_ready(cpu_t *);
187 extern void cpupm_free_ms_cstate(cpu_t *cp);
195 extern boolean_t cpupm_power_ready(cpu_t *);
[all …]
H A Dmachsystm.h75 extern int mach_cpu_start(cpu_t *, void *);
77 extern int mach_cpu_stop(cpu_t *, void *);
80 extern int mach_cpu_create_device_node(cpu_t *, dev_info_t **);
81 extern int mach_cpu_get_device_node(cpu_t *, dev_info_t **);
93 extern void kcpc_hw_init(cpu_t *cp);
94 extern void kcpc_hw_fini(cpu_t *cp);
140 extern void (*disp_enq_thread)(cpu_t *, int);
141 extern void (*non_deep_idle_disp_enq_thread)(cpu_t *, int);
H A Dcpu_idle.h64 extern void cstate_wakeup(cpu_t *, int);
66 extern void cpu_wakeup(cpu_t *, int);
67 extern void cpu_wakeup_mwait(cpu_t *, int);
/illumos-gate/usr/src/uts/common/sys/
H A Dcpuvar.h247 } cpu_t; typedef
523 extern cpu_t *clock_cpu_list;
564 uint64_t *, cpu_t *); \
596 void cpu_list_init(cpu_t *);
597 void cpu_add_unit(cpu_t *);
599 void cpu_add_active(cpu_t *);
600 void cpu_kstat_init(cpu_t *);
607 void cpu_create_intrstat(cpu_t *);
608 void cpu_delete_intrstat(cpu_t *);
642 cpu_t *cpu_intr_next(cpu_t *cp); /* get next online CPU taking intrs */
[all …]
H A Dpg.h164 void pg_cpu_active(cpu_t *);
165 void pg_cpu_inactive(cpu_t *);
166 void pg_cpu_startup(cpu_t *);
167 void pg_cpu_bootstrap(cpu_t *);
168 int pg_cpu_is_bootstrapped(cpu_t *);
173 void pg_cpupart_in(cpu_t *, struct cpupart *);
174 void pg_cpupart_out(cpu_t *, struct cpupart *);
182 void pg_cpu_add(pg_t *, cpu_t *, cpu_pg_t *);
184 pg_t *pg_cpu_find_pg(cpu_t *, group_t *);
185 cpu_t *pg_cpu_next(pg_cpu_itr_t *);
[all …]
H A Dpghw.h151 extern void pghw_init(pghw_t *, cpu_t *, pghw_type_t);
153 extern void pghw_cpu_add(pghw_t *, cpu_t *);
154 extern pghw_t *pghw_place_cpu(cpu_t *, pghw_type_t);
160 extern void pghw_physid_create(cpu_t *);
161 extern void pghw_physid_destroy(cpu_t *);
166 extern pghw_t *pghw_find_pg(cpu_t *, pghw_type_t);
171 extern int pg_plat_hw_shared(cpu_t *, pghw_type_t);
172 extern int pg_plat_cpus_share(cpu_t *, cpu_t *, pghw_type_t);
173 extern id_t pg_plat_hw_instance_id(cpu_t *, pghw_type_t);
187 extern id_t pg_plat_get_core_id(cpu_t *);
H A Dcyclic.h71 void (*cyo_online)(void *, cpu_t *, cyc_handler_t *, cyc_time_t *);
72 void (*cyo_offline)(void *, cpu_t *, void *);
83 extern void cyclic_bind(cyclic_id_t, cpu_t *, cpupart_t *);
88 extern int cyclic_offline(cpu_t *cpu);
89 extern void cyclic_online(cpu_t *cpu);
90 extern int cyclic_juggle(cpu_t *cpu);
91 extern void cyclic_move_in(cpu_t *);
92 extern int cyclic_move_out(cpu_t *);
96 extern void cyclic_fire(cpu_t *cpu);
97 extern void cyclic_softint(cpu_t *cpu, cyc_level_t level);
H A Dcmt.h101 void pg_cmt_load(cpu_t *, int);
102 void pg_cmt_cpu_startup(cpu_t *);
103 int pg_cmt_can_migrate(cpu_t *, cpu_t *);
114 cpu_t *cmt_balance(kthread_t *, cpu_t *);
/illumos-gate/usr/src/uts/common/os/
H A Dcpu_intr.c48 cpu_intr_on(cpu_t *cp) in cpu_intr_on()
57 cpu_t *
58 cpu_intr_next(cpu_t *cp) in cpu_intr_next()
60 cpu_t *c; in cpu_intr_next()
78 cpu_intr_count(cpu_t *cp) in cpu_intr_count()
80 cpu_t *c; in cpu_intr_count()
97 cpu_intr_enable(cpu_t *cp) in cpu_intr_enable()
116 cpu_intr_disable(cpu_t *cp) in cpu_intr_disable()
H A Dpg.c338 pg_cpu_find_pg(cpu_t *cp, group_t *set) in pg_cpu_find_pg()
358 cpu_t *
361 cpu_t *cpu; in pg_cpu_next()
372 pg_cpu_find(pg_t *pg, cpu_t *cp) in pg_cpu_find()
553 pg_cpu_init(cpu_t *cp, boolean_t deferred_init) in pg_cpu_init()
639 pg_cpu_active(cpu_t *cp) in pg_cpu_active()
658 pg_cpu_inactive(cpu_t *cp) in pg_cpu_inactive()
676 pg_cpupart_in(cpu_t *cp, cpupart_t *pp) in pg_cpupart_in()
696 pg_cpupart_out(cpu_t *cp, cpupart_t *pp) in pg_cpupart_out()
751 pg_cpu_bootstrap(cpu_t *cp) in pg_cpu_bootstrap()
[all …]
H A Dcap_util.c317 static int cu_cpu_fini(cpu_t *cp);
331 cpu_t *cp; in cu_disable()
346 cpu_t *cp; in cu_enable()
364 cpu_t *cp; in cu_init()
945 cpu_t *cp = (cpu_t *)arg1; in cu_cpc_trigger()
1003 cpu_t *cp; in cu_cpu_callback()
1056 cu_cpu_disable(cpu_t *cp) in cu_cpu_disable()
1063 cu_cpu_enable(cpu_t *cp) in cu_cpu_enable()
1187 cu_cpu_fini(cpu_t *cp) in cu_cpu_fini()
1340 cpu_t *cp; in cu_cpu_kstat_update()
[all …]
H A Dcpu.c417 cpu_t *cp; in thread_affinity_set()
557 cpu_t *cp; in thread_nomigrate()
961 cpu_t *cp; in cpu_pause_start()
1089 static cpu_t *
1104 cpu_t *
1107 cpu_t *c; in cpu_get()
1280 cpu_t *ncp; in cpu_offline()
1727 cpu_t **tbl; in cpu_seq_tbl_init()
3303 cpu_t *cp = (cpu_t *)ksp->ks_private; in cpu_sys_stats_ks_update()
3405 cpu_t *cp = (cpu_t *)ksp->ks_private; in cpu_vm_stats_ks_update()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpupm_mach.c144 cpupm_init(cpu_t *cp) in cpupm_init()
344 cpupm_fini(cpu_t *cp) in cpupm_fini()
354 cpupm_start(cpu_t *cp) in cpupm_start()
360 cpupm_stop(cpu_t *cp) in cpupm_stop()
374 cpupm_is_ready(cpu_t *cp) in cpupm_is_ready()
770 cpupm_power_ready(cpu_t *cp) in cpupm_power_ready()
796 cpu_t *cp = ctx; in cpupm_notify_handler()
913 cpu_t *cp = ctx; in cpupm_power_manage_notifications()
926 cpu_t *cp = ctx; in cpupm_event_notify_handler()
1038 cpu_t *, CPU, int, in cpupm_next_cstate()
[all …]
H A Dcpupm_throttle.c34 static int cpupm_throttle_init(cpu_t *);
35 static void cpupm_throttle_fini(cpu_t *);
37 static void cpupm_throttle_stop(cpu_t *);
228 cpupm_throttle_init(cpu_t *cp) in cpupm_throttle_init()
269 cpupm_throttle_fini(cpu_t *cp) in cpupm_throttle_fini()
280 cpupm_throttle_stop(cpu_t *cp) in cpupm_throttle_stop()
297 cpu_t *cp = cpu[cpu_id]; in cpupm_throttle_get_max()
333 cpu_t *cp = ctx; in cpupm_throttle_manage_notification()
H A Dpwrnow.c37 static int pwrnow_init(cpu_t *);
38 static void pwrnow_fini(cpu_t *);
40 static void pwrnow_stop(cpu_t *);
171 pwrnow_init(cpu_t *cp) in pwrnow_init()
224 pwrnow_fini(cpu_t *cp) in pwrnow_fini()
302 pwrnow_stop(cpu_t *cp) in pwrnow_stop()
H A Dspeedstep.c42 static int speedstep_init(cpu_t *);
43 static void speedstep_fini(cpu_t *);
45 static void speedstep_stop(cpu_t *);
186 speedstep_init(cpu_t *cp) in speedstep_init()
239 speedstep_fini(cpu_t *cp) in speedstep_fini()
254 speedstep_stop(cpu_t *cp) in speedstep_stop()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dcmp.c91 pg_plat_hw_shared(cpu_t *cp, pghw_type_t hw) in pg_plat_hw_shared()
105 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share()
116 pg_plat_hw_instance_id(cpu_t *cpu, pghw_type_t hw) in pg_plat_hw_instance_id()
174 pg_plat_get_core_id(cpu_t *cpu) in pg_plat_get_core_id()
219 cu_plat_cpc_init(cpu_t *cp, kcpc_request_list_t *reqs, int nreqs) in cu_plat_cpc_init()
/illumos-gate/usr/src/uts/common/disp/
H A Ddisp.c339 cpu_t *cpup; in cpu_dispqalloc()
531 cpu_t *ocp; in disp_anywork()
873 cpu_t *cp; in swtch()
1054 cpu_t *cp; in thread_on_queue()
1203 cpu_t *cp; in setbackdq()
1283 cpu_t *, cp, cpu_t *, newcp); in setbackdq()
1388 cpu_t *cp; in setfrontdq()
1534 cpu_t *cp; in setkpdq()
2294 cpu_t *, tcp, cpu_t *, cp, hrtime_t, rqtime); in disp_getbest()
2607 cpu_t *
[all …]
H A Dcmt.c196 pg_cmt_cpu_startup(cpu_t *cp) in pg_cmt_cpu_startup()
207 pg_cmt_can_migrate(cpu_t *from, cpu_t *to) in pg_cmt_can_migrate()
335 cpu_t *cpu; in cmt_hier_promote()
918 cpu_t *cpp; in pg_cmt_cpupart_move()
972 pg_cmt_cpu_active(cpu_t *cp) in pg_cmt_cpu_active()
1042 pg_cmt_cpu_inactive(cpu_t *cp) in pg_cmt_cpu_inactive()
1047 cpu_t *cpp; in pg_cmt_cpu_inactive()
1130 cpu_t *pg_cpu; in pg_cmt_cpu_belongs()
1472 cpu_t *cpu; in pg_cmt_prune()
1674 cpu_t *cpu; in pg_cmt_disable()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dcmp.c95 cpu_t *cpu; in cmp_error_resteer()
144 pg_plat_hw_shared(cpu_t *cp, pghw_type_t hw) in pg_plat_hw_shared()
169 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share()
193 pg_plat_hw_instance_id(cpu_t *cpu, pghw_type_t hw) in pg_plat_hw_instance_id()
268 pg_plat_get_core_id(cpu_t *cp) in pg_plat_get_core_id()
314 cu_plat_cpc_init(cpu_t *cp, kcpc_request_list_t *reqs, int nreqs) in cu_plat_cpc_init()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dcbe.c54 static cpu_t *volatile cbe_xcall_cpu;
81 cpu_t *cpu = CPU; in cbe_low_level()
96 cpu_t *cpu = CPU; in cbe_fire()
176 cbe_xcall(void *arg, cpu_t *dest, cyc_func_t func, void *farg) in cbe_xcall()
206 cbe_configure(cpu_t *cpu) in cbe_configure()
215 ASSERT(!CPU_IN_SET(cbe_enabled, ((cpu_t *)arg)->cpu_id)); in cbe_unconfigure()
258 processorid_t me = ((cpu_t *)arg)->cpu_id; in cbe_enable()
277 processorid_t me = ((cpu_t *)arg)->cpu_id; in cbe_disable()
H A Dcpudrv_mach.c65 cpu_t *cp = cpudsp->cp; in cpudrv_change_speed()
185 cpu_t *cp; in cpudrv_get_topspeed()
213 cpu_t *cp; in cpudrv_notify_handler()
241 cpu_t *cp = cpudsp->cp; in cpudrv_install_notify_handler()
249 cpu_t *cp = cpudsp->cp; in cpudrv_uninstall_notify_handler()
355 cpudrv_power_ready(cpu_t *cp) in cpudrv_power_ready()
/illumos-gate/usr/src/uts/intel/os/
H A Dsmt.c213 yield_to_vcpu(cpu_t *sib, zoneid_t zoneid) in yield_to_vcpu()
456 cpu_t *cp; in smt_mark()
531 smt_should_run(kthread_t *t, cpu_t *cp) in smt_should_run()
534 cpu_t *sib; in smt_should_run()
583 static cpu_t *
584 smt_find_sibling(cpu_t *cp) in smt_find_sibling()
630 cpu_t *sib; in smt_disable()
631 cpu_t *cp; in smt_disable()
675 smt_can_enable(cpu_t *cp, int flags) in smt_can_enable()
711 cpu_t *scp = CPU; in smt_init()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmp_machdep.c96 static void cpu_wakeup(cpu_t *, int);
99 static void cpu_wakeup_mwait(cpu_t *, int);
108 extern int cpuid_get_coreid(cpu_t *);
109 extern int cpuid_get_chipid(cpu_t *);
293 pg_plat_cpus_share(cpu_t *cpu_a, cpu_t *cpu_b, pghw_type_t hw) in pg_plat_cpus_share()
394 pg_plat_get_core_id(cpu_t *cpu) in pg_plat_get_core_id()
461 cpu_t *cpup = CPU; in cpu_idle()
577 cpu_wakeup(cpu_t *cpu, int bound) in cpu_wakeup()
671 cpu_t *cpup = CPU; in cpu_idle_mwait()
762 cpu_wakeup_mwait(cpu_t *cp, int bound) in cpu_wakeup_mwait()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/
H A Dgcpu.c285 cpu_t *cp; in cmihdl_cb()
289 cp = mdb_alloc(sizeof (cpu_t), UM_SLEEP); in cmihdl_cb()
290 if (mdb_vread(cp, sizeof (cpu_t), in cmihdl_cb()
291 (uintptr_t)hdl->cmih_hdlpriv) != sizeof (cpu_t)) { in cmihdl_cb()
294 mdb_free(cp, sizeof (cpu_t)); in cmihdl_cb()
305 mdb_free(cp, sizeof (cpu_t)); in cmihdl_cb()
326 cpu_t *cp; in cmihdl_disp()
398 cp = mdb_alloc(sizeof (cpu_t), UM_SLEEP); in cmihdl_disp()
400 if (mdb_vread(cp, sizeof (cpu_t), in cmihdl_disp()
402 mdb_free(cp, sizeof (cpu_t)); in cmihdl_disp()
[all …]

1234567