Lines Matching defs:cpu
82 perfCallback perfCpuSigHook; /* Pointer to CHUD cpu signal hook routine */
279 int cpu;
286 cpu = real_ncpus;
287 proc_info->cpu_number = cpu;
288 PerProcTable[cpu].ppe_vaddr = proc_info;
289 PerProcTable[cpu].ppe_paddr = (addr64_t)pmap_find_phys(kernel_pmap, (addr64_t)(unsigned int)proc_info) << PAGE_SHIFT;
303 int cpu)
309 proc_info = PerProcTable[cpu].ppe_vaddr;
311 if (cpu == cpu_number()) {
349 (vm_offset_t)&PerProcTable[cpu]);
393 int cpu)
397 if ( cpu != master_cpu) {
398 tpproc = PerProcTable[cpu].ppe_vaddr;
587 int cpu;
589 cpu = cpu_number(); /* Get the CPU number */
622 kprintf("cpu_signal_handler: AST check on cpu %x\n", cpu_number());
824 return(KERN_RESOURCE_SHORTAGE); /* cpu performance facility in use by another task */
1056 int cpu)
1058 return ((processor_t)PerProcTable[cpu].ppe_vaddr->processor);
1163 unsigned int cpu, ocpu;
1165 cpu = cpu_number(); /* Who are we? */
1175 if(ocpu == cpu) continue; /* If we talk to ourselves, people will wonder... */