Lines Matching refs:cpu_t

239 } cpu_t;  typedef
549 extern cpu_t *cpu_list; /* list of CPUs */
550 extern cpu_t *cpu_active; /* list of active CPUs */
558 extern cpu_t *clock_cpu_list;
593 uint64_t *, cpu_t *); \
619 void cpu_list_init(cpu_t *);
620 void cpu_add_unit(cpu_t *);
622 void cpu_add_active(cpu_t *);
623 void cpu_kstat_init(cpu_t *);
624 void cpu_visibility_add(cpu_t *, struct zone *);
625 void cpu_visibility_remove(cpu_t *, struct zone *);
626 void cpu_visibility_configure(cpu_t *, struct zone *);
627 void cpu_visibility_unconfigure(cpu_t *, struct zone *);
628 void cpu_visibility_online(cpu_t *, struct zone *);
629 void cpu_visibility_offline(cpu_t *, struct zone *);
630 void cpu_create_intrstat(cpu_t *);
631 void cpu_delete_intrstat(cpu_t *);
651 void pause_cpus(cpu_t *off_cp, void *(*func)(void *));
656 cpu_t *cpu_get(processorid_t cpun); /* get the CPU struct associated */
658 int cpu_online(cpu_t *cp); /* take cpu online */
659 int cpu_offline(cpu_t *cp, int flags); /* take cpu offline */
660 int cpu_spare(cpu_t *cp, int flags); /* take cpu to spare */
661 int cpu_faulted(cpu_t *cp, int flags); /* take cpu to faulted */
662 int cpu_poweron(cpu_t *cp); /* take powered-off cpu to offline */
663 int cpu_poweroff(cpu_t *cp); /* take offline cpu to powered-off */
665 cpu_t *cpu_intr_next(cpu_t *cp); /* get next online CPU taking intrs */
666 int cpu_intr_count(cpu_t *cp); /* count # of CPUs handling intrs */
667 int cpu_intr_on(cpu_t *cp); /* CPU taking I/O interrupts? */
668 void cpu_intr_enable(cpu_t *cp); /* enable I/O interrupts */
669 int cpu_intr_disable(cpu_t *cp); /* disable I/O interrupts */
670 void cpu_intr_alloc(cpu_t *cp, int n); /* allocate interrupt threads */
675 int cpu_is_online(cpu_t *); /* check if CPU is online */
676 int cpu_is_nointr(cpu_t *); /* check if CPU can service intrs */
677 int cpu_is_active(cpu_t *); /* check if CPU can run threads */
678 int cpu_is_offline(cpu_t *); /* check if CPU is offline */
679 int cpu_is_poweredoff(cpu_t *); /* check if CPU is powered off */
694 void cpu_set_state(cpu_t *); /* record/timestamp current state */
695 int cpu_get_state(cpu_t *); /* get current cpu state */
696 const char *cpu_get_state_str(cpu_t *); /* get current cpu state as string */
700 void cpu_set_supp_freqs(cpu_t *, const char *); /* set the CPU supported */
705 void cpu_destroy_bound_threads(cpu_t *cp);
808 extern void cpu_call(cpu_t *, cpu_call_func_t, uintptr_t, uintptr_t);