Searched refs:active_cpus (Results 1 – 8 of 8) sorted by relevance
77 unsigned int active_cpus; in ledtrig_cpu() local83 active_cpus = atomic_read(&num_active_cpus); in ledtrig_cpu()91 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
175 const struct cpumask *active_cpus; member218 if (!msdata->active_cpus) { in multi_cpu_stop()222 cpumask = msdata->active_cpus; in multi_cpu_stop()344 .active_cpus = cpumask_of(cpu1), in stop_two_cpus()595 .active_cpus = cpus, in stop_machine_cpuslocked()662 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
105 atomic_t active_cpus; member250 atomic_dec(&(mm)->context.active_cpus); \
62 if (atomic_read(&mm->context.active_cpus) > 1) in mm_is_thread_local()
131 atomic_inc(&mm->context.active_cpus); in inc_mm_active_cpus()136 atomic_dec(&mm->context.active_cpus); in dec_mm_active_cpus()
804 atomic_dec(&mm->context.active_cpus); in exit_lazy_flush_tlb()867 int active_cpus = atomic_read(&mm->context.active_cpus); in flush_type_needed() local870 if (active_cpus == 0) in flush_type_needed()872 if (active_cpus == 1 && cpumask_test_cpu(cpu, mm_cpumask(mm))) { in flush_type_needed()
202 atomic_set(&mm->context.active_cpus, 0); in init_new_context()
277 unsigned int active_cpus; in gve_alloc_notify_blocks() local317 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks()354 get_cpu_mask(i % active_cpus)); in gve_alloc_notify_blocks()