Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/tools/power/cpupower/utils/helpers/
Dmisc.c171 bitmask_clearall(online_cpus); in get_cpustate()
178 bitmask_setbit(online_cpus, cpu); in get_cpustate()
195 str_len = online_cpus->size * 5; in print_online_cpus()
198 if (!bitmask_isallclear(online_cpus)) { in print_online_cpus()
199 bitmask_displaylist(online_cpus_str, str_len, online_cpus); in print_online_cpus()
Dhelpers.h213 extern struct bitmask *online_cpus;
/linux-6.12.1/tools/power/cpupower/utils/
Dcpupower.c37 struct bitmask *online_cpus; variable
184 online_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
238 if (online_cpus) in main()
239 bitmask_free(online_cpus); in main()
/linux-6.12.1/tools/perf/arch/arm/util/
Dcs-etm.c213 struct perf_cpu_map *online_cpus = perf_cpu_map__new_online_cpus(); in cs_etm_validate_config() local
215 intersect_cpus = perf_cpu_map__intersect(event_cpus, online_cpus); in cs_etm_validate_config()
216 perf_cpu_map__put(online_cpus); in cs_etm_validate_config()
550 struct perf_cpu_map *online_cpus = perf_cpu_map__new_online_cpus(); in cs_etm_info_priv_size() local
552 intersect_cpus = perf_cpu_map__intersect(event_cpus, online_cpus); in cs_etm_info_priv_size()
553 perf_cpu_map__put(online_cpus); in cs_etm_info_priv_size()
783 struct perf_cpu_map *online_cpus = perf_cpu_map__new_online_cpus(); in cs_etm_info_fill() local
797 cpu_map = online_cpus; in cs_etm_info_fill()
801 if (!perf_cpu_map__has(online_cpus, cpu)) in cs_etm_info_fill()
826 perf_cpu_map__put(online_cpus); in cs_etm_info_fill()
/linux-6.12.1/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.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh103 online_cpus
524 online_cpus() function
540 online_cpus
986 online_cpus
/linux-6.12.1/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.12.1/drivers/virt/nitro_enclaves/
Dne_misc_dev.c347 goto online_cpus; in ne_setup_cpu_pool()
359 online_cpus: in ne_setup_cpu_pool()
/linux-6.12.1/drivers/scsi/ibmvscsi/
Dibmvfc.c6322 unsigned int online_cpus = num_online_cpus(); in ibmvfc_probe() local
6323 unsigned int max_scsi_queues = min((unsigned int)IBMVFC_MAX_SCSI_QUEUES, online_cpus); in ibmvfc_probe()