HomeSort by relevance Sort by last modified time
    Searched refs:sysfs (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/strace/linux/arc/
syscallent.h 7 [247] = { 3, 0, SEN(sysfs), "sysfs" },
  /test/vts-testcase/kernel/api/sysfs/
Android.mk 22 VTS_CONFIG_SRC_DIR := testcases/kernel/api/sysfs
  /external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
dscr_sysfs_test.c 2 * POWER Data Stream Control Register (DSCR) sysfs interface test
4 * This test updates to system wide DSCR default through the sysfs interface
6 * well verified from their sysfs interfaces.
45 DIR *sysfs; local
49 sysfs = opendir(CPU_PATH);
50 if (!sysfs) {
55 while ((dp = readdir(sysfs))) {
70 closedir(sysfs);
  /external/ltp/testscripts/
sysfs.sh 22 # FILE : sysfs.sh
23 # USAGE : sysfs.sh [ -k <kernel_module> ]
25 # DESCRIPTION : A script that will test sysfs on Linux system.
32 # CODE COVERAGE: 31.3% - fs/sysfs (Total Coverage)
34 # 0.0% - fs/sysfs/bin.c
35 # 61.8% - fs/sysfs/dir.c
36 # 27.5% - fs/sysfs/file.c
37 # 40.4% - fs/sysfs/inode.c
38 # 41.2% - fs/sysfs/mount.c
39 # 58.1% - fs/sysfs/symlink.
    [all...]
  /external/libcap/kdebug/
test-init.sh 7 mount -t sysfs sys /sys
  /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...]
  /external/linux-kselftest/tools/testing/selftests/cpufreq/
main.sh 11 SYSFS=
45 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
47 if [ ! -d "$SYSFS" ]; then
48 echo $msg sysfs is not mounted >&2
52 CPUROOT=$SYSFS/devices/system/cpu
56 echo $msg cpus not available in sysfs >&2
61 echo $msg cpufreq directory not available in sysfs >&2
  /external/lisa/tools/scripts/
odroid_sampler.py 33 sysfs = { variable in class:OdroidSampler
38 'arm' : sysfs['arm'] + '/sensor_W',
39 'kfc' : sysfs['kfc'] + '/sensor_W',
  /external/linux-kselftest/tools/testing/selftests/gpio/
gpio-mockup.sh 5 #2: sysfs/debugfs not mount
9 SYSFS=
24 echo "-t: interface type: chardev(char device) and sysfs(being"
38 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
39 if [ ! -d "$SYSFS" ]; then
40 echo $msg sysfs is not mounted >&2
43 GPIO_SYSFS=`echo $SYSFS/class/gpio`
44 GPIO_DRV_SYSFS=`echo $SYSFS/devices/platform/$module/gpio`
51 source gpio-mockup-sysfs.s
    [all...]
Makefile 3 TEST_FILES := gpio-mockup-sysfs.sh $(BINARIES)
  /external/ltp/testcases/kernel/containers/netns/
netns_sysfs.sh 21 # Tests that a separate network namespace cannot affect sysfs contents
33 tst_brkm TCONF "sysfs is not mount namespace aware for kernels older than 2.6.35"
63 ns_exec $NS_HANDLE $NS_TYPE mount -t sysfs none /sys 2>/dev/null
69 tst_resm TPASS "sysfs in new namespace has $DUMMYDEV interface"
71 tst_resm TFAIL "sysfs in new namespace does not have $DUMMYDEV interface"
78 tst_resm TPASS "sysfs in new namespace does not have $DUMMYDEV_HOST interface"
80 tst_resm TFAIL "sysfs in new namespace contains $DUMMYDEV_HOST interface"
87 tst_resm TPASS "sysfs not affected by a separate namespace"
89 tst_resm TFAIL "sysfs affected by a separate namespace"
  /external/iputils/
arping.c 41 #include <sysfs/libsysfs.h>
71 struct sysfs_devattr_values *sysfs; member in struct:device
567 * by_sysfs(): requires libsysfs , and sysfs in kernel.
729 if (!device.sysfs) {
730 device.sysfs = malloc(sizeof(*device.sysfs));
731 sysfs_devattr_values_init(device.sysfs, 0);
786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) {
787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING)
797 sysfs_devattr_values_init(device.sysfs, 1)
    [all...]
  /external/linux-kselftest/tools/testing/selftests/memory-hotplug/
mem-on-off-test.sh 3 SYSFS=
14 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
16 if [ ! -d "$SYSFS" ]; then
17 echo $msg sysfs is not mounted >&2
21 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
34 for memory in $SYSFS/devices/system/memory/memory*; do
54 grep -q online $SYSFS/devices/system/memory/memory$1/state
59 grep -q offline $SYSFS/devices/system/memory/memory$1/state
64 echo online > $SYSFS/devices/system/memory/memory$1/stat
    [all...]
  /system/sepolicy/prebuilts/api/26.0/private/
ephemeral_app.te 55 # access files in /sys with the default sysfs label
56 neverallow ephemeral_app sysfs:file *;
  /system/sepolicy/private/
ephemeral_app.te 57 # access files in /sys with the default sysfs label
58 neverallow ephemeral_app sysfs:file *;
  /external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_allocator_module/
test_per_cpu_allocator_module.c 22 #include <linux/sysfs.h>
  /external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
cpu-on-off-test.sh 3 SYSFS=
16 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
18 if [ ! -d "$SYSFS" ]; then
19 echo $msg sysfs is not mounted >&2
23 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
29 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*; do
68 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/onlin
    [all...]
  /external/lisa/tests/eas/
preliminary.py 39 This test reads the kernel configuration and digs around in sysfs to
268 """Get all the CPUs' capacities from sysfs as a list of ints"""
273 """Write all the CPUs' capacites to sysfs from a list of ints"""
300 cpu_capacity sysfs files, and check the flag is inverted.
305 raise SkipTest('cpu_capacity info not exposed in sysfs.')
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
read_device_node.c 225 char sysfs[100]; local
251 inv_get_sysfs_path(sysfs);
  /external/trappy/trappy/
plot_utils.py 241 sysfs = SysfsExtractor(run_path)
243 thermal_params = sysfs.get_parameters()
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
stress_iio.c 225 printf("sysfs: %s\n", sysfs_path);
929 char sysfs[100]; local
961 inv_get_sysfs_path(sysfs);
962 printf("sss:::%s\n", sysfs);
  /external/devlib/devlib/utils/
misc.py 512 """Converts a sysfs-style ranges string, e.g. ``"0,2-4"``, into a list ,e.g ``[0,2,3,4]``"""
524 """Converts a list, e.g ``[0,2,3,4]``, into a sysfs-style ranges string, e.g. ``"0,2-4"``"""
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
mpu_iio.c 244 printf("INFO: sysfs path=%s\n", dev_path);
584 char sysfs[100]; local
592 inv_get_sysfs_path(sysfs);
  /external/strace/linux/avr32/
syscallent.h 149 [120] = { 3, 0, SEN(sysfs), "sysfs" },
  /external/strace/linux/hppa/
syscallent.h 141 [135] = { 3, 0, SEN(sysfs), "sysfs" },

Completed in 494 milliseconds

1 2 3