Searched refs:c_idle (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/arch/mips/kernel/ |
D | smp.c | 205 struct create_idle *c_idle = in do_fork_idle() local 208 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle() 209 complete(&c_idle->done); in do_fork_idle() 226 struct create_idle c_idle = { in __cpu_up() local 228 .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done), in __cpu_up() 231 INIT_WORK_ONSTACK(&c_idle.work, do_fork_idle); in __cpu_up() 232 schedule_work(&c_idle.work); in __cpu_up() 233 wait_for_completion(&c_idle.done); in __cpu_up() 234 idle = cpu_idle_thread[cpu] = c_idle.idle; in __cpu_up()
|
/linux-3.4.99/arch/powerpc/kernel/ |
D | smp.c | 448 struct create_idle *c_idle = in do_fork_idle() local 451 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle() 452 complete(&c_idle->done); in do_fork_idle() 458 struct create_idle c_idle = { in create_idle() local 460 .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done), in create_idle() 462 INIT_WORK_ONSTACK(&c_idle.work, do_fork_idle); in create_idle() 464 c_idle.idle = get_idle_for_cpu(cpu); in create_idle() 471 if (!c_idle.idle) { in create_idle() 472 schedule_work(&c_idle.work); in create_idle() 473 wait_for_completion(&c_idle.done); in create_idle() [all …]
|
/linux-3.4.99/arch/x86/kernel/ |
D | smpboot.c | 632 struct create_idle *c_idle = in do_fork_idle() local 635 c_idle->idle = fork_idle(c_idle->cpu); in do_fork_idle() 636 complete(&c_idle->done); in do_fork_idle() 670 struct create_idle c_idle = { in do_boot_cpu() local 672 .done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done), in do_boot_cpu() 675 INIT_WORK_ONSTACK(&c_idle.work, do_fork_idle); in do_boot_cpu() 679 c_idle.idle = get_idle_for_cpu(cpu); in do_boot_cpu() 685 if (c_idle.idle) { in do_boot_cpu() 686 c_idle.idle->thread.sp = (unsigned long) (((struct pt_regs *) in do_boot_cpu() 687 (THREAD_SIZE + task_stack_page(c_idle.idle))) - 1); in do_boot_cpu() [all …]
|
/linux-3.4.99/arch/ia64/kernel/ |
D | smpboot.c | 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() [all …]
|
/linux-3.4.99/arch/s390/kernel/ |
D | smp.c | 733 struct create_idle *c_idle; in smp_fork_idle() local 735 c_idle = container_of(work, struct create_idle, work); in smp_fork_idle() 736 c_idle->idle = fork_idle(c_idle->cpu); in smp_fork_idle() 737 complete(&c_idle->done); in smp_fork_idle() 743 struct create_idle c_idle; in __cpu_up() local 754 c_idle.done = COMPLETION_INITIALIZER_ONSTACK(c_idle.done); in __cpu_up() 755 INIT_WORK_ONSTACK(&c_idle.work, smp_fork_idle); in __cpu_up() 756 c_idle.cpu = cpu; in __cpu_up() 757 schedule_work(&c_idle.work); in __cpu_up() 758 wait_for_completion(&c_idle.done); in __cpu_up() [all …]
|