Lines Matching defs:cpu_t
80 * all types pointed to by cpu_t.
127 * beyond what's necessary to access the cpu_t structure.
243 } cpu_t;
553 extern cpu_t *cpu_list; /* list of CPUs */
554 extern cpu_t *cpu_active; /* list of active CPUs */
562 extern cpu_t *clock_cpu_list;
597 uint64_t *, cpu_t *); \
623 void cpu_list_init(cpu_t *);
624 void cpu_add_unit(cpu_t *);
626 void cpu_add_active(cpu_t *);
627 void cpu_kstat_init(cpu_t *);
628 void cpu_visibility_add(cpu_t *, struct zone *);
629 void cpu_visibility_remove(cpu_t *, struct zone *);
630 void cpu_visibility_configure(cpu_t *, struct zone *);
631 void cpu_visibility_unconfigure(cpu_t *, struct zone *);
632 void cpu_visibility_online(cpu_t *, struct zone *);
633 void cpu_visibility_offline(cpu_t *, struct zone *);
634 void cpu_create_intrstat(cpu_t *);
635 void cpu_delete_intrstat(cpu_t *);
655 void pause_cpus(cpu_t *off_cp, void *(*func)(void *));
660 cpu_t *cpu_get(processorid_t cpun); /* get the CPU struct associated */
662 int cpu_online(cpu_t *cp); /* take cpu online */
663 int cpu_offline(cpu_t *cp, int flags); /* take cpu offline */
664 int cpu_spare(cpu_t *cp, int flags); /* take cpu to spare */
665 int cpu_faulted(cpu_t *cp, int flags); /* take cpu to faulted */
666 int cpu_poweron(cpu_t *cp); /* take powered-off cpu to offline */
667 int cpu_poweroff(cpu_t *cp); /* take offline cpu to powered-off */
669 cpu_t *cpu_intr_next(cpu_t *cp); /* get next online CPU taking intrs */
670 int cpu_intr_count(cpu_t *cp); /* count # of CPUs handling intrs */
671 int cpu_intr_on(cpu_t *cp); /* CPU taking I/O interrupts? */
672 void cpu_intr_enable(cpu_t *cp); /* enable I/O interrupts */
673 int cpu_intr_disable(cpu_t *cp); /* disable I/O interrupts */
674 void cpu_intr_alloc(cpu_t *cp, int n); /* allocate interrupt threads */
679 int cpu_is_online(cpu_t *); /* check if CPU is online */
680 int cpu_is_nointr(cpu_t *); /* check if CPU can service intrs */
681 int cpu_is_active(cpu_t *); /* check if CPU can run threads */
682 int cpu_is_offline(cpu_t *); /* check if CPU is offline */
683 int cpu_is_poweredoff(cpu_t *); /* check if CPU is powered off */
698 void cpu_set_state(cpu_t *); /* record/timestamp current state */
699 int cpu_get_state(cpu_t *); /* get current cpu state */
700 const char *cpu_get_state_str(cpu_t *); /* get current cpu state as string */
704 void cpu_set_supp_freqs(cpu_t *, const char *); /* set the CPU supported */
709 void cpu_destroy_bound_threads(cpu_t *cp);
812 extern void cpu_call(cpu_t *, cpu_call_func_t, uintptr_t, uintptr_t);