Searched refs:test_dirfd (Results 1 – 1 of 1) sorted by relevance
74 int hwmon_dirfd = -1, test_dirfd = -1, file; in test_pmu_get() local85 test_dirfd = open(dir, O_PATH|O_DIRECTORY); in test_pmu_get()86 if (test_dirfd < 0) { in test_pmu_get()92 if (mkdirat(test_dirfd, "hwmon1234", 0755) < 0) { in test_pmu_get()96 hwmon_dirfd = openat(test_dirfd, "hwmon1234", O_DIRECTORY); in test_pmu_get()143 if (test_dirfd >= 0) in test_pmu_get()144 close(test_dirfd); in test_pmu_get()