Home | History | Annotate | Download | only in include

Lines Matching refs:online

64 #  to perform the online operation successfully, false otherwise.
72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
80 report_timing "Online cpu ${CPU}"
93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online
108 # currently online or offline.
121 # currently online or offline.
135 # currently online or offline.
177 # currently online or offline.
185 if [ -e /sys/devices/system/cpu/$cpu/online ]; then
203 # Collects the current online/offline state of CPUs in the
209 echo `cd /sys/devices/system/cpu/ && grep '' */online | \
210 sed -e 's/\/online//'`
236 # Prints a list of all CPUs currently online. This function only
241 echo `cd /sys/devices/system/cpu/ && grep 1 */online | cut -d '/' -f 1`
253 echo `cd /sys/devices/system/cpu/ && grep 0 */online | cut -d '/' -f 1`
266 cat /sys/devices/system/cpu/cpu${CPU}/online > /dev/null 2>&1
273 # Returns a 0 value if the given CPU number is currently online,
280 if [ `cat /sys/devices/system/cpu/cpu${CPU}/online` = "1" ]; then