• Home
  • Raw
  • Download

Lines Matching refs:status_t

54 status_t CreateDeviceNode(const std::string& path, dev_t dev);
55 status_t DestroyDeviceNode(const std::string& path);
57 status_t SetDefaultAcl(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
60 status_t AbortFuseConnections();
75 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid,
79 status_t ForceUnmount(const std::string& path);
82 status_t KillProcessesUsingPath(const std::string& path);
85 status_t KillProcessesWithTmpfsMountPrefix(const std::string& path);
88 status_t BindMount(const std::string& source, const std::string& target);
91 status_t Symlink(const std::string& target, const std::string& linkpath);
94 status_t Unlink(const std::string& linkpath);
97 status_t CreateDir(const std::string& dir, mode_t mode);
102 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
106 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid,
110 status_t ForkExecvp(const std::vector<std::string>& args,
112 status_t ForkExecvpTimeout(const std::vector<std::string>& args, std::chrono::seconds timeout,
118 status_t GetBlockDevSize(int fd, uint64_t* size);
119 status_t GetBlockDevSize(const std::string& path, uint64_t* size);
121 status_t GetBlockDev512Sectors(const std::string& path, uint64_t* nr_sec);
123 status_t ReadRandomBytes(size_t bytes, std::string& out);
124 status_t ReadRandomBytes(size_t bytes, char* buffer);
125 status_t GenerateRandomUuid(std::string& out);
128 status_t HexToStr(const std::string& hex, std::string& str);
130 status_t StrToHex(const std::string& str, std::string& hex);
132 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
134 status_t NormalizeHex(const std::string& in, std::string& out);
144 status_t WipeBlockDevice(const std::string& path);
169 status_t EnsureDirExists(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
171 status_t RestoreconRecursive(const std::string& path);
179 status_t UnmountTree(const std::string& mountPoint);
183 status_t DeleteDirContentsAndDir(const std::string& pathname);
184 status_t DeleteDirContents(const std::string& pathname);
186 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
202 status_t MountUserFuse(userid_t user_id, const std::string& absolute_lower_path,
205 status_t UnmountUserFuse(userid_t userId, const std::string& absolute_lower_path,
208 status_t PrepareAndroidDirs(const std::string& volumeRoot);