Lines Matching refs:prof_cpu_mask
49 static cpumask_var_t prof_cpu_mask; variable
113 if (!alloc_cpumask_var(&prof_cpu_mask, GFP_KERNEL)) in profile_init()
116 cpumask_copy(prof_cpu_mask, cpu_possible_mask); in profile_init()
131 free_cpumask_var(prof_cpu_mask); in profile_init()
339 if (prof_cpu_mask != NULL) in profile_dead_cpu()
340 cpumask_clear_cpu(cpu, prof_cpu_mask); in profile_dead_cpu()
376 if (prof_cpu_mask != NULL) in profile_online_cpu()
377 cpumask_set_cpu(cpu, prof_cpu_mask); in profile_online_cpu()
406 if (!user_mode(regs) && prof_cpu_mask != NULL && in profile_tick()
407 cpumask_test_cpu(smp_processor_id(), prof_cpu_mask)) in profile_tick()
418 seq_printf(m, "%*pb\n", cpumask_pr_args(prof_cpu_mask)); in prof_cpu_mask_proc_show()
438 cpumask_copy(prof_cpu_mask, new_value); in prof_cpu_mask_proc_write()