Home
last modified time | relevance | path

Searched refs:active_cpus (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/drivers/leds/trigger/
Dledtrig-cpu.c77 unsigned int active_cpus; in ledtrig_cpu() local
83 active_cpus = atomic_read(&num_active_cpus); in ledtrig_cpu()
91 DIV_ROUND_UP(LED_FULL * active_cpus, total_cpus)); in ledtrig_cpu()
/Linux-v5.15/kernel/
Dstop_machine.c175 const struct cpumask *active_cpus; member
218 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()
/Linux-v5.15/arch/powerpc/include/asm/book3s/64/
Dmmu.h105 atomic_t active_cpus; member
250 atomic_dec(&(mm)->context.active_cpus); \
/Linux-v5.15/arch/powerpc/include/asm/
Dtlb.h62 if (atomic_read(&mm->context.active_cpus) > 1) in mm_is_thread_local()
Dmmu_context.h131 atomic_inc(&mm->context.active_cpus); in inc_mm_active_cpus()
136 atomic_dec(&mm->context.active_cpus); in dec_mm_active_cpus()
/Linux-v5.15/arch/powerpc/mm/book3s64/
Dradix_tlb.c804 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() local
870 if (active_cpus == 0) in flush_type_needed()
872 if (active_cpus == 1 && cpumask_test_cpu(cpu, mm_cpumask(mm))) { in flush_type_needed()
Dmmu_context.c202 atomic_set(&mm->context.active_cpus, 0); in init_new_context()
/Linux-v5.15/drivers/net/ethernet/google/gve/
Dgve_main.c277 unsigned int active_cpus; in gve_alloc_notify_blocks() local
317 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()