Searched refs:idle_cpu (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/idle/
H A Dintel_idle.c83 struct idle_cpu { struct
96 static const struct idle_cpu *icpu __initdata;
1335 static const struct idle_cpu idle_cpu_nehalem __initconst = {
1341 static const struct idle_cpu idle_cpu_nhx __initconst = {
1348 static const struct idle_cpu idle_cpu_atom __initconst = {
1352 static const struct idle_cpu idle_cpu_tangier __initconst = {
1356 static const struct idle_cpu idle_cpu_lincroft __initconst = {
1361 static const struct idle_cpu idle_cpu_snb __initconst = {
1366 static const struct idle_cpu idle_cpu_snx __initconst = {
1372 static const struct idle_cpu idle_cpu_by
[all...]
/linux-master/kernel/sched/
H A Dfair.c1323 if (!idle_cpu(sibling))
1970 int idle_cpu; member in struct:numa_stats
2048 ns->idle_cpu = -1;
2060 if (find_idle && idle_core < 0 && !rq->nr_running && idle_cpu(cpu)) {
2065 if (ns->idle_cpu == -1)
2066 ns->idle_cpu = cpu;
2078 ns->idle_cpu = idle_core;
2093 if (cpu == env->best_cpu || !idle_cpu(cpu) ||
2315 int cpu = env->dst_stats.idle_cpu;
2325 if (!idle_cpu(cp
7295 select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle_cpu) argument
7357 select_idle_core(struct task_struct *p, int core, struct cpumask *cpus, int *idle_cpu) argument
7377 int i, cpu, idle_cpu = -1, nr = INT_MAX; local
[all...]
H A Dcore.c1093 if (!idle_cpu(cpu))
1107 if (!idle_cpu(i))
1206 rq->idle_balance = idle_cpu(cpu);
3900 * idle_cpu() does not observe a false-negative -- if it does,
3906 * Since now nr_running > 0, idle_cpu() will always get correct result.
5702 rq->idle_balance = idle_cpu(cpu);
7406 * idle_cpu - is a given CPU idle currently?
7411 int idle_cpu(int cpu) function
7437 if (!idle_cpu(cpu))
7465 return idle_cpu(cp
[all...]
/linux-master/include/linux/
H A Dsched.h1815 extern int idle_cpu(int cpu);
2185 static inline int sched_core_idle_cpu(int cpu) { return idle_cpu(cpu); }
/linux-master/kernel/rcu/
H A Dtree_stall.h428 if (cpu_is_offline(cpu) || idle_cpu(cpu))
/linux-master/drivers/tty/
H A Dsysrq.c234 if (idle_cpu(smp_processor_id())) {
/linux-master/arch/sparc/kernel/
H A Dsmp_64.c1454 if (cpu_poke && idle_cpu(cpu)) {
/linux-master/arch/x86/kernel/
H A Dkvm.c642 if (!idle_cpu(cpu) && vcpu_is_preempted(cpu)) {

Completed in 214 milliseconds