Home
last modified time | relevance | path

Searched refs:sys_path (Results 1 – 9 of 9) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/zram/
Dzram_lib.sh97 local sys_path="/sys/block/zram${i}/max_comp_streams"
98 echo $max_s > $sys_path || \
99 echo "FAIL failed to set '$max_s' to $sys_path"
101 local max_streams=$(cat $sys_path)
107 echo "$sys_path = '$max_streams' ($i/$dev_num)"
121 local sys_path="/sys/block/zram${i}/comp_algorithm"
122 echo "$alg" > $sys_path || \
123 echo "FAIL can't set '$alg' to $sys_path"
125 echo "$sys_path = '$alg' ($i/$dev_num)"
136 local sys_path="/sys/block/zram${i}/disksize"
[all …]
/external/ltp/testcases/kernel/device-drivers/zram/
Dzram_lib.sh77 local sys_path="/sys/block/zram${i}/max_comp_streams"
78 echo $max_s > $sys_path || \
79 tst_brkm TFAIL "failed to set '$max_s' to $sys_path"
80 local max_streams=$(cat $sys_path)
86 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)"
108 local sys_path="/sys/block/zram${i}/comp_algorithm"
109 echo "$alg" > $sys_path || \
110 tst_brkm TFAIL "can't set '$alg' to $sys_path"
112 tst_resm TINFO "$sys_path = '$alg' ($i/$dev_num)"
123 local sys_path="/sys/block/zram${i}/disksize"
[all …]
/external/autotest/client/site_tests/platform_UdevVars/
Dplatform_UdevVars.py69 device.sys_path, outfile))
73 device.sys_path, outfile))
/external/autotest/client/common_lib/
Dsite_utils.py932 sys_path = os.environ.get('PATH')
933 prefix_list = sys_path.split(os.pathsep) if sys_path else []
/external/libusb/libusb/os/
Ddarwin_usb.h124 char sys_path[21]; member
Ddarwin_usb.c944 snprintf(new_device->sys_path, 20, "%03i-%04x-%04x-%02x-%02x", new_device->address, in darwin_get_cached_device()
1020 dev->port_number, (void *) dev->parent_dev, priv->dev->sys_path); in process_new_device()
/external/autotest/client/site_tests/network_EthernetStressPlug/
Dnetwork_EthernetStressPlug.py100 if dev.sys_path.endswith('net/%s' % device):
101 return dev.sys_path
/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi_cmds.c530 static ssize_t sys_path(struct device *dev, in sys_path() function
538 static DEVICE_ATTR(path, S_IRUSR, sys_path, NULL);
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsystem_stub.py407 self.sys_path = None
422 env = self.sys_path