Lines Matching refs:current_mask
316 struct cpumask *current_mask = &save_cpumask; in move_to_next_cpu() local
325 if (!cpumask_equal(current_mask, current->cpus_ptr)) in move_to_next_cpu()
329 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in move_to_next_cpu()
330 next_cpu = cpumask_next(raw_smp_processor_id(), current_mask); in move_to_next_cpu()
334 next_cpu = cpumask_first(current_mask); in move_to_next_cpu()
339 cpumask_clear(current_mask); in move_to_next_cpu()
340 cpumask_set_cpu(next_cpu, current_mask); in move_to_next_cpu()
342 set_cpus_allowed_ptr(current, current_mask); in move_to_next_cpu()
424 struct cpumask *current_mask = &save_cpumask; in start_single_kthread() local
440 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_single_kthread()
443 next_cpu = cpumask_first(current_mask); in start_single_kthread()
444 cpumask_clear(current_mask); in start_single_kthread()
445 cpumask_set_cpu(next_cpu, current_mask); in start_single_kthread()
449 set_cpus_allowed_ptr(kthread, current_mask); in start_single_kthread()
581 struct cpumask *current_mask = &save_cpumask; in start_per_cpu_kthreads() local
589 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_per_cpu_kthreads()
591 for_each_cpu(cpu, current_mask) { in start_per_cpu_kthreads()