Lines Matching refs:prof_cpu_mask
50 static cpumask_var_t prof_cpu_mask; variable
117 if (!alloc_cpumask_var(&prof_cpu_mask, GFP_KERNEL)) in profile_init()
120 cpumask_copy(prof_cpu_mask, cpu_possible_mask); in profile_init()
135 free_cpumask_var(prof_cpu_mask); in profile_init()
270 if (cpumask_available(prof_cpu_mask)) in profile_dead_cpu()
271 cpumask_clear_cpu(cpu, prof_cpu_mask); in profile_dead_cpu()
307 if (cpumask_available(prof_cpu_mask)) in profile_online_cpu()
308 cpumask_set_cpu(cpu, prof_cpu_mask); in profile_online_cpu()
337 if (!user_mode(regs) && cpumask_available(prof_cpu_mask) && in profile_tick()
338 cpumask_test_cpu(smp_processor_id(), prof_cpu_mask)) in profile_tick()
349 seq_printf(m, "%*pb\n", cpumask_pr_args(prof_cpu_mask)); in prof_cpu_mask_proc_show()
369 cpumask_copy(prof_cpu_mask, new_value); in prof_cpu_mask_proc_write()