Lines Matching refs:next
79 int next; in cpumask_next_wrap() local
82 next = cpumask_next(n, mask); in cpumask_next_wrap()
84 if (wrap && n < start && next >= start) { in cpumask_next_wrap()
87 } else if (next >= nr_cpumask_bits) { in cpumask_next_wrap()
93 return next; in cpumask_next_wrap()
249 int next, prev; in cpumask_any_and_distribute() local
254 next = cpumask_next_and(prev, src1p, src2p); in cpumask_any_and_distribute()
255 if (next >= nr_cpu_ids) in cpumask_any_and_distribute()
256 next = cpumask_first_and(src1p, src2p); in cpumask_any_and_distribute()
258 if (next < nr_cpu_ids) in cpumask_any_and_distribute()
259 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_and_distribute()
261 return next; in cpumask_any_and_distribute()
267 int next, prev; in cpumask_any_distribute() local
272 next = cpumask_next(prev, srcp); in cpumask_any_distribute()
273 if (next >= nr_cpu_ids) in cpumask_any_distribute()
274 next = cpumask_first(srcp); in cpumask_any_distribute()
276 if (next < nr_cpu_ids) in cpumask_any_distribute()
277 __this_cpu_write(distribute_cpu_mask_prev, next); in cpumask_any_distribute()
279 return next; in cpumask_any_distribute()