Home
last modified time | relevance | path

Searched refs:read_sysfs_file (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/device-drivers/acpi/
Dltp_acpi.c47 static int read_sysfs_file(const char *name, char *buf, int size) in read_sysfs_file() function
73 if (read_sysfs_file(dev_str, descr, 4096)) { in tc_acpi_str()
81 if (read_sysfs_file(dev_path, sysfs_path + 4, 4092)) { in tc_acpi_str()
111 if (read_sysfs_file(sysfs_path, sysfs_descr, 4096)) in tc_acpi_str()
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dutils.h37 int read_sysfs_file(char *debugfs_file, char *result, size_t result_size);
/external/linux-kselftest/tools/testing/selftests/powerpc/security/
Dspectre_v2.c92 FAIL_IF(read_sysfs_file("devices/system/cpu/vulnerabilities/spectre_v2", buf, sizeof(buf))); in get_sysfs_state()
/external/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c130 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() function