Searched refs:SYSFS (Results 1 – 7 of 7) sorted by relevance
4 SYSFS=19 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`21 if [ ! -d "$SYSFS" ]; then26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then32 online_cpus=`cat $SYSFS/devices/system/cpu/online`40 present_cpus=`cat $SYSFS/devices/system/cpu/present`46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`62 for cpu in $SYSFS/devices/system/cpu/cpu*; do81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online[all …]
4 SYSFS=18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`20 if [ ! -d "$SYSFS" ]; then25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then43 for memory in $SYSFS/devices/system/memory/memory*; do63 grep -q online $SYSFS/devices/system/memory/memory$1/state68 grep -q offline $SYSFS/devices/system/memory/memory$1/state73 echo online > $SYSFS/devices/system/memory/memory$1/state78 echo offline > $SYSFS/devices/system/memory/memory$1/state
211 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then212 printf "$SYSFS/power/state not available\n"226 present=$(cat $SYSFS/power/state | grep $filename)229 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"235 echo $filename > $SYSFS/power/state
12 SYSFS=49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`51 if [ ! -d "$SYSFS" ]; then56 CPUROOT=$SYSFS/devices/system/cpu
11 SYSFS=43 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`44 if [ ! -d "$SYSFS" ]; then48 GPIO_SYSFS=`echo $SYSFS/class/gpio`49 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
16 SYSFS="/sys"79 SECURITYFS="$(mount_helper securityfs $SYSFS/kernel/security)"
25 PROC+SYSFS ISOLATION (NEAR FUTURE)