Lines Matching defs:cpu
1695 * @start: starting cpu index
1697 * Note: If no valid cpu found, then nr_cpu_ids is returned.
1714 * @n: the cpu prior to search
1716 * Note: If no next present cpu, then fallback to first present cpu.
1721 unsigned int cpu;
1723 cpu = cpumask_next(n, cpu_present_mask);
1725 if (cpu >= nr_cpu_ids)
1726 cpu = cpumask_first(cpu_present_mask);
1728 return cpu;