Lines Matching refs:lcpu
106 my_cpu->lcpu.state = LCPU_IDLE;
158 my_cpu->lcpu.state = LCPU_RUN;
182 cpup->lcpu.state = LCPU_PAUSE;
187 cpup->lcpu.state = LCPU_PAUSE;
221 cpup->lcpu.state = LCPU_HALT;
264 return(&cpup->lcpu);
278 return(cpup->lcpu.core);
292 return(cpup->lcpu.die);
306 return(cpup->lcpu.package);
333 deadline = (*pmDispatch->GetDeadline)(&cpu->lcpu);
348 deadline = (*pmDispatch->SetDeadline)(&cpu->lcpu, deadline);
362 (*pmDispatch->Deadline)(&cpu->lcpu);
376 do_ipi = (*pmDispatch->exitIdle)(&cpu->lcpu);
432 (*pmDispatch->markCPURunning)(&cpu->lcpu);
434 cpup->lcpu.state = LCPU_RUN;
584 pmSafeMode(x86_lcpu_t *lcpu, uint32_t flags)
588 pmDispatch->pmCPUSafeMode(lcpu, flags);
601 lcpu->state = LCPU_PAUSE;
602 if (lcpu == x86_lcpu()) {
603 while (lcpu->state == LCPU_PAUSE)
613 lcpu->state = LCPU_RUN;
767 pmLCPUtoProcessor(int lcpu)
769 return(cpu_datap(lcpu)->cpu_processor);
782 if ((uint32_t)cpu == current_cpu_datap()->lcpu.cpu_num)
936 (void)__sync_fetch_and_add(&my_cpu->lcpu.package->num_idle, 1);
939 uint32_t nidle = __sync_fetch_and_sub(&my_cpu->lcpu.package->num_idle, 1);
941 my_cpu->lcpu.package->package_idle_exits++;