Searched refs:online_cpus (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/tools/testing/selftests/cpu-hotplug/ |
D | cpu-on-off-test.sh | 33 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-v6.1/tools/power/cpupower/utils/helpers/ |
D | misc.c | 116 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()
|
D | helpers.h | 202 extern struct bitmask *online_cpus;
|
/Linux-v6.1/tools/power/cpupower/utils/ |
D | cpupower.c | 37 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-v6.1/tools/perf/arch/arm/util/ |
D | cs-etm.c | 203 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-v6.1/drivers/devfreq/ |
D | imx8m-ddrc.c | 104 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-v6.1/tools/testing/selftests/cgroup/ |
D | test_cpuset_prs.sh | 407 online_cpus() function 423 online_cpus
|
/Linux-v6.1/kernel/debug/ |
D | debug_core.c | 579 int online_cpus = num_online_cpus(); in kgdb_cpu_enter() local 718 online_cpus) in kgdb_cpu_enter()
|
/Linux-v6.1/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 347 goto online_cpus; in ne_setup_cpu_pool() 359 online_cpus: in ne_setup_cpu_pool()
|