Lines Matching refs:pvol
384 PrivateVolume* pvol = static_cast<PrivateVolume*>(findVolume(id).get()); in destroyEmulatedVolumesForUser() local
386 if (pvol->getState() == VolumeBase::State::kMounted) { in destroyEmulatedVolumesForUser()
387 for (const auto& vol : pvol->getVolumes()) { in destroyEmulatedVolumesForUser()
394 pvol->removeVolume(vol); in destroyEmulatedVolumesForUser()
412 PrivateVolume* pvol = static_cast<PrivateVolume*>(findVolume(id).get()); in createEmulatedVolumesForUser() local
413 if (pvol->getState() == VolumeBase::State::kMounted) { in createEmulatedVolumesForUser()
416 pvol->getPath() + "/media", pvol->getRawDevice(), pvol->getFsUuid(), in createEmulatedVolumesForUser()
419 pvol->addVolume(evol); in createEmulatedVolumesForUser()
460 PublicVolume* pvol = static_cast<PublicVolume*>(findVolume(id).get()); in onUserStarted() local
461 if (pvol->getState() != VolumeBase::State::kMounted) { in onUserStarted()
464 if (pvol->isVisible() == 0) { in onUserStarted()
467 userid_t mountUserId = pvol->getMountUserId(); in onUserStarted()
476 auto bindMountStatus = pvol->bindMountForUser(userId); in onUserStarted()
478 LOG(ERROR) << "Bind Mounting Public Volume: " << pvol << " for user: " << userId in onUserStarted()