Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/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()
593 .active_cpus = cpus, in stop_machine_cpuslocked()
643 .active_cpus = smt_mask, in stop_core_cpuslocked()
681 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_utils.c21 unsigned int active_cpus = min_t(int, priv->num_ntfy_blks / 2, in gve_tx_add_to_block() local
29 netif_set_xps_queue(priv->dev, get_cpu_mask(ntfy_idx % active_cpus), in gve_tx_add_to_block()
Dgve_main.c334 unsigned int active_cpus; in gve_alloc_notify_blocks() local
374 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks()
419 get_cpu_mask(i % active_cpus)); in gve_alloc_notify_blocks()
/linux-6.6.21/arch/powerpc/include/asm/
Dmmu_context.h125 atomic_inc(&mm->context.active_cpus); in inc_mm_active_cpus()
130 VM_WARN_ON_ONCE(atomic_read(&mm->context.active_cpus) <= 0); in dec_mm_active_cpus()
131 atomic_dec(&mm->context.active_cpus); in dec_mm_active_cpus()
Dtlb.h60 if (atomic_read(&mm->context.active_cpus) > 1) in mm_is_thread_local()
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/
Dmmu.h105 atomic_t active_cpus; member
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dmmu_context.c214 atomic_set(&mm->context.active_cpus, 0); in init_new_context()
Dradix_tlb.c767 int active_cpus = atomic_read(&mm->context.active_cpus); in flush_type_needed() local
770 if (active_cpus == 0) in flush_type_needed()
772 if (active_cpus == 1 && cpumask_test_cpu(cpu, mm_cpumask(mm))) { in flush_type_needed()