Lines Matching refs:processor
74 #include <mach/processor.h>
87 #include <kern/processor.h>
99 register processor_t processor, *tp;
116 *tp++ = processor = processor_list;
122 *tp++ = processor = processor->processor_list;
292 register processor_t processor;
300 processor = processor_list;
301 stat = &PROCESSOR_DATA(processor, vm_stat);
307 while ((processor = processor->processor_list) != NULL) {
308 stat = &PROCESSOR_DATA(processor, vm_stat);
362 register processor_t processor;
368 #define GET_TICKS_VALUE(processor, state, timer) \
371 timer_grab(&PROCESSOR_DATA(processor, timer)) / hz_tick_interval; \
380 processor = processor_list;
381 GET_TICKS_VALUE(processor, CPU_STATE_USER, user_state);
382 GET_TICKS_VALUE(processor, CPU_STATE_SYSTEM, system_state);
383 GET_TICKS_VALUE(processor, CPU_STATE_IDLE, idle_state);
388 while ((processor = processor->processor_list) != NULL) {
389 GET_TICKS_VALUE(processor, CPU_STATE_USER, user_state);
390 GET_TICKS_VALUE(processor, CPU_STATE_SYSTEM, system_state);
391 GET_TICKS_VALUE(processor, CPU_STATE_IDLE, idle_state);
457 * List all processor sets on the host.
491 * Return control port for given processor set.
526 processor_t processor;
552 processor = processor_list;
555 result = processor_info(processor, flavor, &thost, info, &tcount);
564 processor = processor->processor_list;
569 result = processor_info(processor, flavor, &thost, info, &tcount);