Searched refs:read_sysfs_file (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/device-drivers/acpi/ |
D | ltp_acpi.c | 47 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/ |
D | utils.h | 37 int read_sysfs_file(char *debugfs_file, char *result, size_t result_size);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/security/ |
D | spectre_v2.c | 92 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/ |
D | utils.c | 130 int read_sysfs_file(char *fpath, char *result, size_t result_size) in read_sysfs_file() function
|