Lines Matching refs:O_DIRECTORY
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));
514 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);
542 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);
591 int root_fd = open(mount_path, O_RDONLY | O_DIRECTORY);