Searched refs:sub_fd (Results 1 – 1 of 1) sorted by relevance
52 int sub_fd = -1; in read_and_discard_sysfs_entries() local53 igt_assert((sub_fd = in read_and_discard_sysfs_entries()57 read_and_discard_sysfs_entries(sub_fd, indent + 1); in read_and_discard_sysfs_entries()58 close(sub_fd); in read_and_discard_sysfs_entries()61 int sub_fd; in read_and_discard_sysfs_entries() local68 sub_fd = openat(path_fd, dirent->d_name, O_RDONLY); in read_and_discard_sysfs_entries()69 if (sub_fd == -1) { in read_and_discard_sysfs_entries()76 ret = read(sub_fd, buf, sizeof(buf)); in read_and_discard_sysfs_entries()84 close(sub_fd); in read_and_discard_sysfs_entries()