Lines Matching refs:cpu
45 #pragma mark **** cpu enable/disable ****
52 kern_return_t chudxnu_enable_cpu(int cpu, boolean_t enable)
56 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) // sanity check
59 if((cpu_data_ptr[cpu] != NULL) && cpu != master_cpu) {
60 processor_t processor = cpu_to_processor(cpu);
95 chudxnu_get_cpu_interrupt_counters(int cpu, interrupt_counters_t *rupts)
97 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) { // sanity check
105 per_proc = cpu_data_ptr[cpu];
152 chudxnu_clear_cpu_interrupt_counters(int cpu)
154 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) { // sanity check
159 per_proc = cpu_data_ptr[cpu];