Searched refs:offline_cpus (Results 1 – 4 of 4) sorted by relevance
47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`48 if [[ "a$offline_cpus" = "a" ]]; then49 offline_cpus=051 offline_max=${offline_cpus##*-}53 echo -e "\t Cpus in offline state: $offline_cpus"174 offline_cpus=0205 if [[ $offline_cpus -gt 0 ]]; then
172 bitmask_clearall(offline_cpus); in get_cpustate()180 bitmask_setbit(offline_cpus, cpu); in get_cpustate()213 str_len = offline_cpus->size * 5; in print_offline_cpus()216 if (!bitmask_isallclear(offline_cpus)) { in print_offline_cpus()217 bitmask_displaylist(offline_cpus_str, str_len, offline_cpus); in print_offline_cpus()
214 extern struct bitmask *offline_cpus;
38 struct bitmask *offline_cpus; variable185 offline_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()240 if (offline_cpus) in main()241 bitmask_free(offline_cpus); in main()