Searched refs:mount_path (Results 1 – 5 of 5) sorted by relevance
/system/core/init/ |
D | switch_root.cpp | 77 for (const auto& mount_path : mounts) { in SwitchRoot() local 78 auto new_mount_path = new_root + mount_path; in SwitchRoot() 80 if (mount(mount_path.c_str(), new_mount_path.c_str(), nullptr, MS_MOVE, nullptr) != 0) { in SwitchRoot() 81 PLOG(FATAL) << "Unable to move mount at '" << mount_path << "'"; in SwitchRoot()
|
D | mount_namespace.cpp | 87 static Result<void> MountDir(const std::string& path, const std::string& mount_path) { in MountDir() argument 88 if (int ret = mkdir(mount_path.c_str(), 0755); ret != 0 && errno != EEXIST) { in MountDir() 89 return ErrnoError() << "Could not create mount point " << mount_path; in MountDir() 91 if (mount(path.c_str(), mount_path.c_str(), nullptr, MS_BIND, nullptr) != 0) { in MountDir() 92 return ErrnoError() << "Could not bind mount " << path << " to " << mount_path; in MountDir() 127 const std::string mount_path = to_dir + "/" + apex_manifest->name(); in ActivateFlattenedApexesFrom() local 128 if (auto result = MountDir(apex_path, mount_path); !result.ok()) { in ActivateFlattenedApexesFrom()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 293 ret->auto_delete_mount_dir_ = AutoDeleteDir::New(ret->mount_path()); in New() 297 ret->auto_umount_mount_point_ = AutoUnmountTmpfs::New(ret->mount_path(), size); in New() 314 return mount_path() + "/tmp"; in tmp_path() 319 return mount_path() + "/persist"; in persist_path() 329 std::string mount_path() const { in mount_path() function in android::snapshot::AutoMemBasedDir
|
/system/apex/apexd/ |
D | apex_file.h | 58 const std::string& mount_path) const;
|
D | apex_file.cpp | 358 const std::string& mount_path) const { in VerifyManifestMatches() 360 ReadManifest(mount_path + "/" + kManifestFilenamePb); in VerifyManifestMatches()
|