Home
last modified time | relevance | path

Searched refs:sys_path (Results 1 – 14 of 14) 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.sh75 local sys_path="/sys/block/zram${i}/max_comp_streams"
76 echo $max_s > $sys_path || \
77 tst_brkm TFAIL "failed to set '$max_s' to $sys_path"
78 local max_streams=$(cat $sys_path)
84 tst_resm TINFO "$sys_path = '$max_streams' ($i/$dev_num)"
105 local sys_path="/sys/block/zram${i}/comp_algorithm"
106 echo "$alg" > $sys_path || \
107 tst_brkm TFAIL "can't set '$alg' to $sys_path"
109 tst_resm TINFO "$sys_path = '$alg' ($i/$dev_num)"
120 local sys_path="/sys/block/zram${i}/disksize"
[all …]
/external/python/cpython2/Modules/
Dmain.c216 PyObject *sys_path = NULL; in RunMainFromImporter() local
217 if ((sys_path = PySys_GetObject("path")) && in RunMainFromImporter()
218 !PyList_SetItem(sys_path, 0, argv0)) in RunMainFromImporter()
222 sys_path = NULL; in RunMainFromImporter()
/external/autotest/client/site_tests/platform_UdevVars/
Dplatform_UdevVars.py69 device.sys_path, outfile))
73 device.sys_path, outfile))
/external/python/cpython2/Lib/distutils/command/
Dinstall.py592 sys_path = map(os.path.normpath, sys.path)
593 sys_path = map(os.path.normcase, sys_path)
597 install_lib not in sys_path):
/external/python/cpython2/Lib/test/
Dtest_site.py47 self.sys_path = sys.path[:]
55 sys.path[:] = self.sys_path
311 self.sys_path = sys.path[:]
315 sys.path[:] = self.sys_path
Dtest_sysconfig.py24 self.sys_path = sys.path[:]
47 sys.path[:] = self.sys_path
Dtest_import.py447 self.sys_path = sys.path[:]
455 sys.path[:] = self.sys_path
/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/python/cpython2/Lib/multiprocessing/
Dforking.py398 sys_path=sys.path,
/external/autotest/client/common_lib/
Dutils.py2712 sys_path = os.environ.get('PATH')
2713 prefix_list = sys_path.split(os.pathsep) if sys_path else []