Lines Matching refs:O_RDONLY
46 fbl::unique_fd fd(open(path, O_RDONLY | O_DIRECTORY));
130 int mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN);
159 int mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN);
191 mountfd = open(mount_path, O_RDONLY | O_DIRECTORY);
201 mountfd = open(mount_path, O_RDONLY | O_DIRECTORY | O_ADMIN);
219 fbl::unique_fd badfd(open(mount_path, O_RDONLY | O_DIRECTORY));
229 badfd.reset(open(mount_path, O_RDONLY | O_DIRECTORY));
263 int mountfd = open(parent_path, O_RDONLY | O_DIRECTORY | O_ADMIN);
300 fbl::unique_fd weak_root_fd(open(mount_path, O_RDONLY | O_DIRECTORY));
311 fbl::unique_fd weak_subdir_fd(openat(weak_root_fd.get(), "subdir", O_RDONLY | O_DIRECTORY));
318 weak_subdir_fd.reset(openat(weak_root_fd.get(), "subdir", O_RDONLY | O_DIRECTORY | O_ADMIN));
356 int mount_fd = open(mount_path, O_RDONLY | O_NOREMOTE | O_ADMIN);
366 mount_fd = open(mount_path, O_RDONLY | O_ADMIN);
439 fbl::unique_fd mountfd(open(mount_path, O_RDONLY | O_ADMIN));
457 mountfd.reset(open(mount_path, O_RDONLY | O_ADMIN));
467 mountfd.reset(open(mount_path, O_RDONLY));
478 mountfd.reset(open(mount_path, O_RDONLY | O_ADMIN));
514 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);
542 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);
550 fd = openat(root_fd, file_name, O_RDONLY);
591 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);
597 fd = openat(root_fd, file_name, O_RDONLY);
681 fbl::unique_fd partition_fd(open(fixture->partition_path().c_str(), O_RDONLY));