Home | History | Annotate | Download | only in disks

Lines Matching refs:mount_path

86   virtual void UnmountPath(const std::string& mount_path,
89 UnmountChildMounts(mount_path);
90 cros_disks_client_->Unmount(mount_path, options,
95 mount_path),
100 mount_path));
104 virtual void FormatMountedDevice(const std::string& mount_path) OVERRIDE {
105 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path);
107 LOG(ERROR) << "Mount point with path \"" << mount_path << "\" not found.";
108 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, mount_path);
120 UnmountPath(disk->second->mount_path(),
136 if (!it->second->mount_path().empty() &&
139 devices_to_unmount.push_back(it->second->mount_path());
229 if (mount_points_.find(mount_point.mount_path) != mount_points_.end()) {
239 mount_points_.insert(std::make_pair(mount_point.mount_path, mount_point));
257 // |mount_path|.
259 std::string mount_path = mount_path_in;
261 if (mount_path[mount_path.length() - 1] != '/')
262 mount_path += '/';
267 if (StartsWithASCII(it->second.source_path, mount_path,
270 UnmountPath(it->second.mount_path,
281 const std::string& mount_path) {
284 OnUnmountPath(UnmountPathCallback(), true, mount_path);
285 VLOG(1) << mount_path << " unmounted.";
312 entry.mount_path(),
322 mount_points_.find(mount_info.mount_path) == mount_points_.end()) {
323 mount_points_.insert(MountPointMap::value_type(mount_info.mount_path,
330 !mount_info.mount_path.empty()) {
338 disk->set_mount_path(mount_info.mount_path);
345 const std::string& mount_path) {
346 MountPointMap::iterator mount_points_it = mount_points_.find(mount_path);
359 mount_points_it->second.mount_path,
391 DCHECK(disk != disks_.end() && disk->second->mount_path().empty());
435 disk_info.mount_path(),
591 const std::string& mount_path,
610 mount_path_(mount_path),