Searched refs:SYSFS (Results 1 – 9 of 9) sorted by relevance
31 SYSFS=$(mount 2>/dev/null | awk '$5 == "sysfs" { print $3 }')32 if [ "x$SYSFS" = x ] ; then34 SYSFS=/sys36 test -d $SYSFS || mkdir -p $SYSFS 2>/dev/null38 tst_brkm TBROK "Failed to mkdir $SYSFS"40 if ! mount -t sysfs sysfs $SYSFS 2>/dev/null ; then41 tst_brkm TBROK "Failed to mount $SYSFS"52 SECURITYFS="$SYSFS/kernel/security"
100 PCRS_PATH=$(find /$SYSFS/devices/ | grep pcrs)
3 SYSFS=16 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`18 if [ ! -d "$SYSFS" ]; then23 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then29 online_cpus=`cat $SYSFS/devices/system/cpu/online`33 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`49 for cpu in $SYSFS/devices/system/cpu/cpu*; do68 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online73 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online78 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online[all …]
3 SYSFS=14 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`16 if [ ! -d "$SYSFS" ]; then21 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then34 for memory in $SYSFS/devices/system/memory/memory*; do54 grep -q online $SYSFS/devices/system/memory/memory$1/state59 grep -q offline $SYSFS/devices/system/memory/memory$1/state64 echo online > $SYSFS/devices/system/memory/memory$1/state69 echo offline > $SYSFS/devices/system/memory/memory$1/state
210 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then211 printf "$SYSFS/power/state not available\n"225 present=$(cat $SYSFS/power/state | grep $filename)228 printf "Tried to $1 but $filename isn't present in $SYSFS/power/state\n"234 echo $filename > $SYSFS/power/state
11 SYSFS=45 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`47 if [ ! -d "$SYSFS" ]; then52 CPUROOT=$SYSFS/devices/system/cpu
9 SYSFS=38 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`39 if [ ! -d "$SYSFS" ]; then43 GPIO_SYSFS=`echo $SYSFS/class/gpio`44 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
25 PROC+SYSFS ISOLATION (NEAR FUTURE)
1493 * examples/hotplug.c: switch to use ATTR{} instead of SYSFS{}