Home
last modified time | relevance | path

Searched refs:sysfsdir (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-assign-cpus.sh13 sysfsdir=${1-/sys/devices/system/node}
14 if ! cd "$sysfsdir" > $T/msg 2>&1
24 echo "# Not a directory: $sysfsdir/node*"
31 echo "# Not a directory: $sysfsdir/$j"
44 echo "# Not a file: $sysfsdir/$i"
/linux/tools/gpio/
H A Dgpio-sloppy-logic-analyzer.sh210 sysfsdir="$debugdir/$ladirname"
214 [ -d "$sysfsdir" ] || fail "Could not find logic analyzer root dir '$sysfsdir'. Module loaded?"
215 [ -x "$sysfsdir" ] || fail "Could not access logic analyzer root dir '$sysfsdir'. Need root?"
217 [ $listinstances -gt 0 ] && find "$sysfsdir" -mindepth 1 -type d | sed 's|.*/||' && exit 0
220 lasysfsdir="$sysfsdir/$lainstance"
222 lasysfsdir=$(find "$sysfsdir" -mindepth 1 -type d -print -quit)