HomeSort by relevance Sort by last modified time
    Searched refs:SYSFS (Results 1 - 8 of 8) sorted by null

  /external/ltp/testcases/kernel/security/integrity/ima/tests/
ima_setup.sh 31 SYSFS=$(mount 2>/dev/null | awk '$5 == "sysfs" { print $3 }')
32 if [ "x$SYSFS" = x ] ; then
34 SYSFS=/sys
36 test -d $SYSFS || mkdir -p $SYSFS 2>/dev/null
38 tst_brkm TBROK "Failed to mkdir $SYSFS"
40 if ! mount -t sysfs sysfs $SYSFS 2>/dev/null ; the
    [all...]
ima_tpm.sh 100 PCRS_PATH=$(find /$SYSFS/devices/ | grep pcrs)
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
cpufreq.sh 211 if [ ! -d $SYSFS/power/ -o ! -f $SYSFS/power/state ]; then
212 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
main.sh 12 SYSFS=
46 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
48 if [ ! -d "$SYSFS" ]; then
49 echo $msg sysfs is not mounted >&2
53 CPUROOT=$SYSFS/devices/system/cpu
57 echo $msg cpus not available in sysfs >&2
62 echo $msg cpufreq directory not available in sysfs >&2
  /external/linux-kselftest/tools/testing/selftests/gpio/
gpio-mockup.sh 6 #2: sysfs/debugfs not mount
10 SYSFS=
25 echo "-t: interface type: chardev(char device) and sysfs(being"
39 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
40 if [ ! -d "$SYSFS" ]; then
41 echo $msg sysfs is not mounted >&2
44 GPIO_SYSFS=`echo $SYSFS/class/gpio`
45 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
52 source gpio-mockup-sysfs.s
    [all...]
  /external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
cpu-on-off-test.sh 4 SYSFS=
17 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
19 if [ ! -d "$SYSFS" ]; then
20 echo $msg sysfs is not mounted >&2
24 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
30 online_cpus=`cat $SYSFS/devices/system/cpu/online`
40 offline_cpus=`cat $SYSFS/devices/system/cpu/offline`
56 for cpu in $SYSFS/devices/system/cpu/cpu*; do
75 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/onlin
    [all...]
  /external/linux-kselftest/tools/testing/selftests/memory-hotplug/
mem-on-off-test.sh 4 SYSFS=
15 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
17 if [ ! -d "$SYSFS" ]; then
18 echo $msg sysfs is not mounted >&2
22 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
27 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
40 for memory in $SYSFS/devices/system/memory/memory*; do
60 grep -q online $SYSFS/devices/system/memory/memory$1/state
65 grep -q offline $SYSFS/devices/system/memory/memory$1/stat
    [all...]
  /external/ltp/testcases/kernel/containers/
TEST_PLAN.txt 25 PROC+SYSFS ISOLATION (NEAR FUTURE)

Completed in 372 milliseconds