Lines Matching refs:c_idle
493 struct create_idle *c_idle = in do_fork_idle() local
496 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle()
497 complete(&c_idle->done); in do_fork_idle()
504 struct create_idle c_idle = { in do_boot_cpu() local
505 .work = __WORK_INITIALIZER(c_idle.work, do_fork_idle), in do_boot_cpu()
507 .done = COMPLETION_INITIALIZER(c_idle.done), in do_boot_cpu()
514 c_idle.idle = get_idle_for_cpu(cpu); in do_boot_cpu()
515 if (c_idle.idle) { in do_boot_cpu()
516 init_idle(c_idle.idle, cpu); in do_boot_cpu()
520 schedule_work(&c_idle.work); in do_boot_cpu()
521 wait_for_completion(&c_idle.done); in do_boot_cpu()
523 if (IS_ERR(c_idle.idle)) in do_boot_cpu()
526 set_idle_for_cpu(cpu, c_idle.idle); in do_boot_cpu()
529 task_for_booting_cpu = c_idle.idle; in do_boot_cpu()