Searched refs:name_fd (Results 1 – 1 of 1) sorted by relevance
734 int hwmon_dir, name_fd; in perf_pmus__read_hwmon_pmus() local747 name_fd = openat(hwmon_dir, "name", O_RDONLY); in perf_pmus__read_hwmon_pmus()748 if (name_fd == -1) { in perf_pmus__read_hwmon_pmus()754 io__init(&io, name_fd, buf, sizeof(buf)); in perf_pmus__read_hwmon_pmus()759 close(name_fd); in perf_pmus__read_hwmon_pmus()