Home
last modified time | relevance | path

Searched refs:cpu_possible_mask (Results 1 – 25 of 99) sorted by relevance

1234

/linux-6.6.21/lib/
Dcpumask_kunit.c68 KUNIT_EXPECT_EQ_MSG(test, nr_cpu_ids, cpumask_weight(cpu_possible_mask), in test_cpumask_weight()
69 MASK_MSG(cpu_possible_mask)); in test_cpumask_weight()
76 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_first(cpu_possible_mask), MASK_MSG(cpu_possible_mask)); in test_cpumask_first()
79 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_first_zero(cpu_possible_mask), in test_cpumask_first()
80 MASK_MSG(cpu_possible_mask)); in test_cpumask_first()
87 KUNIT_EXPECT_EQ_MSG(test, nr_cpu_ids - 1, cpumask_last(cpu_possible_mask), in test_cpumask_last()
88 MASK_MSG(cpu_possible_mask)); in test_cpumask_last()
94 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_next_zero(-1, cpu_possible_mask), in test_cpumask_next()
95 MASK_MSG(cpu_possible_mask)); in test_cpumask_next()
99 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_next(-1, cpu_possible_mask), in test_cpumask_next()
[all …]
Dgroup_cpus.c402 cpumask_andnot(npresmsk, cpu_possible_mask, npresmsk); in group_cpus_evenly()
435 cpumask_copy(&masks[0], cpu_possible_mask); in group_cpus_evenly()
/linux-6.6.21/kernel/bpf/
Dpercpu_freelist.c63 for_each_cpu_wrap(cpu, cpu_possible_mask, orig_cpu) { in ___pcpu_freelist_push_nmi()
127 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in ___pcpu_freelist_pop()
159 for_each_cpu_wrap(cpu, cpu_possible_mask, raw_smp_processor_id()) { in ___pcpu_freelist_pop_nmi()
/linux-6.6.21/drivers/clocksource/
Dtimer-mediatek-cpux.c51 const unsigned long *irq_mask = cpumask_bits(cpu_possible_mask); in mtk_cpux_set_irq()
93 .cpumask = cpu_possible_mask,
Dtimer-imx-sysctr.c122 to_sysctr.clkevt.cpumask = cpu_possible_mask; in sysctr_clockevent_init()
Dtimer-gx6605s.c86 .cpumask = cpu_possible_mask,
Dtimer-meson6.c198 meson6_clockevent.cpumask = cpu_possible_mask; in meson6_timer_init()
/linux-6.6.21/arch/arm64/include/asm/
Dmmu_context.h280 return cpu_possible_mask; in task_cpu_possible_mask()
283 return cpu_possible_mask; in task_cpu_possible_mask()
/linux-6.6.21/include/linux/
Dmmu_context.h25 # define task_cpu_possible_mask(p) cpu_possible_mask
Dcpumask.h130 #define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask) macro
974 #define for_each_possible_cpu(cpu) for_each_cpu((cpu), cpu_possible_mask)
1076 #define num_possible_cpus() cpumask_weight(cpu_possible_mask)
1087 return cpumask_test_cpu(cpu, cpu_possible_mask); in cpu_possible()
/linux-6.6.21/kernel/sched/
Disolation.c61 return cpu_possible_mask; in housekeeping_cpumask()
130 cpu_possible_mask, non_housekeeping_mask); in housekeeping_setup()
/linux-6.6.21/drivers/cpuidle/
Dcpuidle-tegra.c55 for_each_cpu(lcpu, cpu_possible_mask) { in tegra_cpuidle_report_cpus_state()
393 return cpuidle_register(&tegra_idle_driver, cpu_possible_mask); in tegra_cpuidle_probe()
Dcpuidle-exynos.c122 cpu_possible_mask); in exynos_cpuidle_probe()
Ddt_idle_states.c167 cpumask = drv->cpumask ? : cpu_possible_mask; in dt_init_idle_driver()
/linux-6.6.21/kernel/time/
Dtick-broadcast-hrtimer.c91 .cpumask = cpu_possible_mask,
/linux-6.6.21/arch/sh/kernel/
Dtopology.c27 return *cpu_possible_mask; in cpu_coregroup_map()
/linux-6.6.21/include/linux/sched/
Disolation.h39 return cpu_possible_mask; in housekeeping_cpumask()
/linux-6.6.21/arch/arm/mach-tegra/
Dreset.c90 *((u32 *)cpu_possible_mask); in tegra_cpu_reset_handler_init()
/linux-6.6.21/arch/mips/kernel/
Dsmp.c338 mips_smp_ipi_allocate(cpu_possible_mask); in mips_smp_ipi_init()
435 init_cpu_present(cpu_possible_mask); in smp_prepare_cpus()
437 cpumask_copy(&cpu_coherent_mask, cpu_possible_mask); in smp_prepare_cpus()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dcpu_hotplug.rst54 ``cpu_possible_mask = cpu_present_mask + additional_cpus``
59 这个选项设置 ``cpu_possible_mask`` 中的 ``possible_cpus`` 位。
71 ``cpu_possible_mask``
89 CPU资源时,几乎总是使用 ``cpu_possible_mask`` 或 ``for_each_possible_cpu()``
/linux-6.6.21/arch/s390/include/asm/
Dtopology.h84 return cpu_possible_mask; in cpumask_of_node()
/linux-6.6.21/arch/mips/alchemy/common/
Dtime.c72 .cpumask = cpu_possible_mask,
/linux-6.6.21/kernel/irq/
Daffinity.c123 set_vecs = cpumask_weight(cpu_possible_mask); in irq_calc_affinity_vectors()
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dcputopology.rst69 [cpu_possible_mask]
/linux-6.6.21/kernel/rcu/
Drcu.h404 (cpu) = cpumask_next((rnp)->grplo - 1, cpu_possible_mask); \
406 (cpu) = cpumask_next((cpu), cpu_possible_mask))

1234