Lines Matching refs:next
24 unsigned int next; in cpumask_next_wrap() local
27 next = cpumask_next(n, mask); in cpumask_next_wrap()
29 if (wrap && n < start && next >= start) { in cpumask_next_wrap()
32 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap()
38 return next; in cpumask_next_wrap()
173 unsigned int next, prev; in cpumask_any_and_distribute() local
178 next = find_next_and_bit_wrap(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_any_and_distribute()
180 if (next < nr_cpu_ids) in cpumask_any_and_distribute()
181 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_and_distribute()
183 return next; in cpumask_any_and_distribute()
189 unsigned int next, prev; in cpumask_any_distribute() local
193 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
194 if (next < nr_cpu_ids) in cpumask_any_distribute()
195 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_distribute()
197 return next; in cpumask_any_distribute()