Home
last modified time | relevance | path

Searched refs:online_cpus (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/power/cpupower/utils/helpers/
Dmisc.c116 bitmask_clearall(online_cpus); in get_cpustate()
123 bitmask_setbit(online_cpus, cpu); in get_cpustate()
140 str_len = online_cpus->size * 5; in print_online_cpus()
143 if (!bitmask_isallclear(online_cpus)) { in print_online_cpus()
144 bitmask_displaylist(online_cpus_str, str_len, online_cpus); in print_online_cpus()
Dhelpers.h202 extern struct bitmask *online_cpus;
/linux-5.19.10/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
33 online_max=${online_cpus##*-}
35 if [[ "$online_cpus" = "$online_max" ]]; then
36 echo "$msg: since there is only one cpu: $online_cpus"
44 echo -e "\t Cpus in online state: $online_cpus"
154 online_cpus=0
/linux-5.19.10/tools/power/cpupower/utils/
Dcpupower.c37 struct bitmask *online_cpus; variable
183 online_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
237 if (online_cpus) in main()
238 bitmask_free(online_cpus); in main()
/linux-5.19.10/tools/perf/arch/arm/util/
Dcs-etm.c203 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_set_option() local
210 !perf_cpu_map__has(online_cpus, cpu)) in cs_etm_set_option()
230 perf_cpu_map__put(online_cpus); in cs_etm_set_option()
527 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_priv_size() local
535 !perf_cpu_map__has(online_cpus, cpu)) in cs_etm_info_priv_size()
550 if (!perf_cpu_map__has(online_cpus, cpu)) in cs_etm_info_priv_size()
562 perf_cpu_map__put(online_cpus); in cs_etm_info_priv_size()
718 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_fill() local
731 cpu_map = online_cpus; in cs_etm_info_fill()
738 !perf_cpu_map__has(online_cpus, cpu)) in cs_etm_info_fill()
[all …]
/linux-5.19.10/drivers/devfreq/
Dimx8m-ddrc.c104 u32 online_cpus = 0; in imx8m_ddrc_smc_set_freq() local
110 online_cpus |= (1 << (cpu * 8)); in imx8m_ddrc_smc_set_freq()
113 arm_smccc_smc(IMX_SIP_DDR_DVFS, target_freq, online_cpus, in imx8m_ddrc_smc_set_freq()
/linux-5.19.10/kernel/debug/
Ddebug_core.c591 int online_cpus = num_online_cpus(); in kgdb_cpu_enter() local
730 online_cpus) in kgdb_cpu_enter()
/linux-5.19.10/drivers/virt/nitro_enclaves/
Dne_misc_dev.c347 goto online_cpus; in ne_setup_cpu_pool()
359 online_cpus: in ne_setup_cpu_pool()