Home
last modified time | relevance | path

Searched refs:tidle (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/riscv/kernel/
Dsmpboot.c110 static int start_secondary_cpu(int cpu, struct task_struct *tidle) in start_secondary_cpu() argument
113 return cpu_ops[cpu]->cpu_start(cpu, tidle); in start_secondary_cpu()
118 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
121 tidle->thread_info.cpu = cpu; in __cpu_up()
123 ret = start_secondary_cpu(cpu, tidle); in __cpu_up()
Dcpu_ops.c25 struct task_struct *tidle) in cpu_update_secondary_bootdata() argument
32 task_stack_page(tidle) + THREAD_SIZE); in cpu_update_secondary_bootdata()
33 WRITE_ONCE(__cpu_up_task_pointer[hartid], tidle); in cpu_update_secondary_bootdata()
Dcpu_ops_spinwait.c24 static int spinwait_cpu_start(unsigned int cpuid, struct task_struct *tidle) in spinwait_cpu_start() argument
34 cpu_update_secondary_bootdata(cpuid, tidle); in spinwait_cpu_start()
Dcpu_ops_sbi.c56 static int sbi_cpu_start(unsigned int cpuid, struct task_struct *tidle) in sbi_cpu_start() argument
62 cpu_update_secondary_bootdata(cpuid, tidle); in sbi_cpu_start()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsmp.h45 int (*cpu_up)(unsigned cpu, struct task_struct *tidle);
85 static inline int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
87 return smp_ops.cpu_up(cpu, tidle); in __cpu_up()
125 int common_cpu_up(unsigned int cpunum, struct task_struct *tidle);
126 int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
/kernel/linux/linux-5.10/arch/riscv/include/asm/
Dcpu_ops.h33 struct task_struct *tidle);
44 struct task_struct *tidle);
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsmp_32.c258 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
264 ret = smp4m_boot_one_cpu(cpu, tidle); in __cpu_up()
267 ret = smp4d_boot_one_cpu(cpu, tidle); in __cpu_up()
270 ret = leon_boot_one_cpu(cpu, tidle); in __cpu_up()
Dsmp_64.c1277 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
1279 int ret = smp_boot_one_cpu(cpu, tidle); in __cpu_up()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dsmp.c209 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
214 (unsigned int) task_stack_page(tidle) + THREAD_SIZE - 8; in __cpu_up()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dsmp.h22 extern int __cpu_up(unsigned int cpu, struct task_struct *tidle);
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dsmp.c431 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
433 if (cpu != 0 && cpu < parisc_max_cpus && smp_boot_one_cpu(cpu, tidle)) in __cpu_up()
/kernel/linux/linux-5.10/include/linux/
Dsmp.h111 extern int __cpu_up(unsigned int cpunum, struct task_struct *tidle);
/kernel/linux/linux-5.10/arch/mips/kernel/
Dsmp.c431 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
435 err = mp_ops->boot_secondary(cpu, tidle); in __cpu_up()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsmp.c476 __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
478 smp_boot_one_cpu(cpu, tidle); in __cpu_up()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsmpboot.c716 __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
734 ret = do_boot_cpu(sapicid, cpu, tidle); in __cpu_up()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dsmpboot.c1132 int native_cpu_up(unsigned int cpu, struct task_struct *tidle) in native_cpu_up() argument
1172 err = common_cpu_up(cpu, tidle); in native_cpu_up()
1176 err = do_boot_cpu(apicid, cpu, tidle, &cpu0_nmi_registered); in native_cpu_up()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c1150 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
1165 cpu_idle_thread_init(cpu, tidle); in __cpu_up()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dsmp.c897 int __cpu_up(unsigned int cpu, struct task_struct *tidle) in __cpu_up() argument
912 pcpu_attach_task(pcpu, tidle); in __cpu_up()