Searched refs:active_cpus (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/leds/trigger/ |
D | ledtrig-cpu.c | 77 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/ |
D | stop_machine.c | 175 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/ |
D | gve_utils.c | 21 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()
|
D | gve_main.c | 334 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/ |
D | mmu_context.h | 125 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()
|
D | tlb.h | 60 if (atomic_read(&mm->context.active_cpus) > 1) in mm_is_thread_local()
|
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 105 atomic_t active_cpus; member
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | mmu_context.c | 214 atomic_set(&mm->context.active_cpus, 0); in init_new_context()
|
D | radix_tlb.c | 767 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()
|