Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh33 online_cpus=`cat $SYSFS/devices/system/cpu/online`
34 online_max=${online_cpus##*-}
36 if [[ "$online_cpus" = "$online_max" ]]; then
37 echo "$msg: since there is only one cpu: $online_cpus"
45 echo -e "\t Cpus in online state: $online_cpus"
172 online_cpus=0
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh407 online_cpus() function
423 online_cpus
/linux-6.1.9/kernel/debug/
Ddebug_core.c579 int online_cpus = num_online_cpus(); in kgdb_cpu_enter() local
718 online_cpus) in kgdb_cpu_enter()
/linux-6.1.9/drivers/virt/nitro_enclaves/
Dne_misc_dev.c347 goto online_cpus; in ne_setup_cpu_pool()
359 online_cpus: in ne_setup_cpu_pool()