Lines Matching refs:status_t
45 status_t CreateDeviceNode(const std::string& path, dev_t dev);
46 status_t DestroyDeviceNode(const std::string& path);
49 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
52 status_t ForceUnmount(const std::string& path);
55 status_t KillProcessesUsingPath(const std::string& path);
58 status_t BindMount(const std::string& source, const std::string& target);
61 status_t Symlink(const std::string& target, const std::string& linkpath);
64 status_t Unlink(const std::string& linkpath);
67 status_t CreateDir(const std::string& dir, mode_t mode);
72 status_t ReadMetadata(const std::string& path, std::string* fsType, std::string* fsUuid,
76 status_t ReadMetadataUntrusted(const std::string& path, std::string* fsType, std::string* fsUuid,
80 status_t ForkExecvp(const std::vector<std::string>& args, std::vector<std::string>* output = nullpt…
86 status_t GetBlockDevSize(int fd, uint64_t* size);
87 status_t GetBlockDevSize(const std::string& path, uint64_t* size);
89 status_t GetBlockDev512Sectors(const std::string& path, uint64_t* nr_sec);
91 status_t ReadRandomBytes(size_t bytes, std::string& out);
92 status_t ReadRandomBytes(size_t bytes, char* buffer);
93 status_t GenerateRandomUuid(std::string& out);
96 status_t HexToStr(const std::string& hex, std::string& str);
98 status_t StrToHex(const std::string& str, std::string& hex);
100 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex);
102 status_t NormalizeHex(const std::string& in, std::string& out);
110 status_t WipeBlockDevice(const std::string& path);
131 status_t RestoreconRecursive(const std::string& path);
139 status_t UnmountTreeWithPrefix(const std::string& prefix);
140 status_t UnmountTree(const std::string& mountPoint);
142 status_t DeleteDirContentsAndDir(const std::string& pathname);
143 status_t DeleteDirContents(const std::string& pathname);
145 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);