Searched refs:target_dir (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 815 static bool BindMount(const std::string& source_dir, const std::string& target_dir) { in BindMount() argument 816 return !(TEMP_FAILURE_RETRY(mount(source_dir.c_str(), target_dir.c_str(), nullptr, in BindMount() 820 static void BindMount(const std::string& source_dir, const std::string& target_dir, in BindMount() argument 822 if (!BindMount(source_dir, target_dir)) { in BindMount() 824 source_dir.c_str(), target_dir.c_str(), strerror(errno))); in BindMount() 828 static void MountAppDataTmpFs(const std::string& target_dir, in MountAppDataTmpFs() argument 830 if (TEMP_FAILURE_RETRY(mount("tmpfs", target_dir.c_str(), "tmpfs", in MountAppDataTmpFs() 833 target_dir.c_str(), strerror(errno))); in MountAppDataTmpFs()
|