Lines Matching refs:vol
274 auto vol = VolumeManager::Instance()->findVolume(volId); in mount() local
275 if (vol == nullptr) { in mount()
279 vol->setMountFlags(mountFlags); in mount()
280 vol->setMountUserId(mountUserId); in mount()
282 vol->setMountCallback(callback); in mount()
283 int res = vol->mount(); in mount()
284 vol->setMountCallback(nullptr); in mount()
298 auto vol = VolumeManager::Instance()->findVolume(volId); in unmount() local
299 if (vol == nullptr) { in unmount()
302 return translate(vol->unmount()); in unmount()
310 auto vol = VolumeManager::Instance()->findVolume(volId); in format() local
311 if (vol == nullptr) { in format()
314 return translate(vol->format(fsType)); in format()
321 auto vol = VolumeManager::Instance()->findVolume(volId); in pathForVolId() local
322 if (vol == nullptr) { in pathForVolId()
325 if (vol->getType() != VolumeBase::Type::kPrivate) { in pathForVolId()
328 if (vol->getState() != VolumeBase::State::kMounted) { in pathForVolId()
331 *path = vol->getPath(); in pathForVolId()