/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))) { 74 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 | 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
|
/device/google/cuttlefish_common/guest/commands/vport_trigger/ |
main.cpp | 63 std::string sysfs(sysfs_base + dirname + "/name"); 65 if (stat(sysfs.c_str(), &st)) { 69 if (!ReadFileToString(sysfs, &content, true)) {
|
/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 | 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...] |
Makefile | 4 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...] |
/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/prebuilts/api/27.0/private/ |
ephemeral_app.te | 57 # access files in /sys with the default sysfs label 58 neverallow ephemeral_app sysfs:file *;
|
/system/sepolicy/prebuilts/api/28.0/private/ |
app_neverallows.te | 68 # Apps may never access the default sysfs label. 69 neverallow all_untrusted_apps sysfs:file no_rw_file_perms;
|
ephemeral_app.te | 68 # access files in /sys with the default sysfs label 69 neverallow ephemeral_app sysfs:file *;
|
/system/sepolicy/private/ |
app_neverallows.te | 68 # Apps may never access the default sysfs label. 69 neverallow all_untrusted_apps sysfs:file no_rw_file_perms;
|
ephemeral_app.te | 68 # access files in /sys with the default sysfs label 69 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 | 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/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()
|