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
117 bitmask_clearall(offline_cpus); in get_cpustate()125 bitmask_setbit(offline_cpus, cpu); in get_cpustate()158 str_len = offline_cpus->size * 5; in print_offline_cpus()161 if (!bitmask_isallclear(offline_cpus)) { in print_offline_cpus()162 bitmask_displaylist(offline_cpus_str, str_len, offline_cpus); in print_offline_cpus()
203 extern struct bitmask *offline_cpus;
38 struct bitmask *offline_cpus; variable184 offline_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()239 if (offline_cpus) in main()240 bitmask_free(offline_cpus); in main()