Lines Matching refs:unique_fd
35 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in QueryInfo()
122 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in ToggleMetrics()
133 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetricsUnavailable()
146 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetrics()
171 fbl::unique_fd fd(open(path, O_CREAT | O_RDWR)); in TestMetrics()
241 fbl::unique_fd fd(openat(dir_fd, path, O_CREAT | O_RDWR)); in FillDirectory()
266 fbl::unique_fd mnt_fd(open(kMountPath, O_RDONLY)); in TestFullOperations()
269 fbl::unique_fd big_fd(openat(mnt_fd.get(), big_path, O_CREAT | O_RDWR)); in TestFullOperations()
272 fbl::unique_fd med_fd(openat(mnt_fd.get(), med_path, O_CREAT | O_RDWR)); in TestFullOperations()
275 fbl::unique_fd sml_fd(openat(mnt_fd.get(), sml_path, O_CREAT | O_RDWR)); in TestFullOperations()
333 fbl::unique_fd dir_fd(openat(mnt_fd.get(), dir_path, O_RDONLY)); in TestFullOperations()
372 fbl::unique_fd tmp_fd(openat(dir_fd.get(), "new_file", O_CREAT | O_RDWR)); in TestFullOperations()
446 fbl::unique_fd fds[fd_count]; in TestUnlinkFail()
470 fbl::unique_fd fd(open(filename, O_CREAT)); in TestUnlinkFail()