Home
last modified time | relevance | path

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

/linux/drivers/leds/trigger/
A 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/kernel/
A 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/drivers/net/ethernet/google/gve/
A 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()
A Dgve_main.c286 unsigned int active_cpus; in gve_alloc_notify_blocks() local
326 active_cpus = min_t(int, priv->num_ntfy_blks / 2, num_online_cpus()); in gve_alloc_notify_blocks()
363 get_cpu_mask(i % active_cpus)); in gve_alloc_notify_blocks()
/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu.h105 atomic_t active_cpus; member
250 atomic_dec(&(mm)->context.active_cpus); \
/linux/arch/powerpc/include/asm/
A 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()
A Dtlb.h62 if (atomic_read(&mm->context.active_cpus) > 1) in mm_is_thread_local()
/linux/arch/powerpc/mm/book3s64/
A 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()
A Dmmu_context.c202 atomic_set(&mm->context.active_cpus, 0); in init_new_context()

Completed in 19 milliseconds