/linux-6.6.21/lib/ |
D | cpumask_kunit.c | 68 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 …]
|
D | group_cpus.c | 402 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/ |
D | percpu_freelist.c | 63 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/ |
D | timer-mediatek-cpux.c | 51 const unsigned long *irq_mask = cpumask_bits(cpu_possible_mask); in mtk_cpux_set_irq() 93 .cpumask = cpu_possible_mask,
|
D | timer-imx-sysctr.c | 122 to_sysctr.clkevt.cpumask = cpu_possible_mask; in sysctr_clockevent_init()
|
D | timer-gx6605s.c | 86 .cpumask = cpu_possible_mask,
|
D | timer-meson6.c | 198 meson6_clockevent.cpumask = cpu_possible_mask; in meson6_timer_init()
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | mmu_context.h | 280 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/ |
D | mmu_context.h | 25 # define task_cpu_possible_mask(p) cpu_possible_mask
|
D | cpumask.h | 130 #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/ |
D | isolation.c | 61 return cpu_possible_mask; in housekeeping_cpumask() 130 cpu_possible_mask, non_housekeeping_mask); in housekeeping_setup()
|
/linux-6.6.21/drivers/cpuidle/ |
D | cpuidle-tegra.c | 55 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()
|
D | cpuidle-exynos.c | 122 cpu_possible_mask); in exynos_cpuidle_probe()
|
D | dt_idle_states.c | 167 cpumask = drv->cpumask ? : cpu_possible_mask; in dt_init_idle_driver()
|
/linux-6.6.21/kernel/time/ |
D | tick-broadcast-hrtimer.c | 91 .cpumask = cpu_possible_mask,
|
/linux-6.6.21/arch/sh/kernel/ |
D | topology.c | 27 return *cpu_possible_mask; in cpu_coregroup_map()
|
/linux-6.6.21/include/linux/sched/ |
D | isolation.h | 39 return cpu_possible_mask; in housekeeping_cpumask()
|
/linux-6.6.21/arch/arm/mach-tegra/ |
D | reset.c | 90 *((u32 *)cpu_possible_mask); in tegra_cpu_reset_handler_init()
|
/linux-6.6.21/arch/mips/kernel/ |
D | smp.c | 338 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/ |
D | cpu_hotplug.rst | 54 ``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/ |
D | topology.h | 84 return cpu_possible_mask; in cpumask_of_node()
|
/linux-6.6.21/arch/mips/alchemy/common/ |
D | time.c | 72 .cpumask = cpu_possible_mask,
|
/linux-6.6.21/kernel/irq/ |
D | affinity.c | 123 set_vecs = cpumask_weight(cpu_possible_mask); in irq_calc_affinity_vectors()
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cputopology.rst | 69 [cpu_possible_mask]
|
/linux-6.6.21/kernel/rcu/ |
D | rcu.h | 404 (cpu) = cpumask_next((rnp)->grplo - 1, cpu_possible_mask); \ 406 (cpu) = cpumask_next((cpu), cpu_possible_mask))
|