Lines Matching refs:vol
144 for (auto vol : mVolumes) { in findVolume() local
145 if (vol->getId() == id) { in findVolume()
146 return vol; in findVolume()
148 auto stackedVol = vol->findVolume(id); in findVolume()
157 for (const auto& vol : mVolumes) { in listVolumes() local
158 if (vol->getType() == type) { in listVolumes()
159 list.push_back(vol->getId()); in listVolumes()
189 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() local
192 vol->setSilent(true); in createPublicVolume()
193 vol->create(); in createPublicVolume()
194 vol->format("auto"); in createPublicVolume()
195 vol->destroy(); in createPublicVolume()
196 vol->setSilent(false); in createPublicVolume()
199 mVolumes.push_back(vol); in createPublicVolume()
200 vol->setDiskId(getId()); in createPublicVolume()
201 vol->create(); in createPublicVolume()
219 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw)); in createPrivateVolume() local
222 vol->setSilent(true); in createPrivateVolume()
223 vol->create(); in createPrivateVolume()
224 vol->format("auto"); in createPrivateVolume()
225 vol->destroy(); in createPrivateVolume()
226 vol->setSilent(false); in createPrivateVolume()
229 mVolumes.push_back(vol); in createPrivateVolume()
230 vol->setDiskId(getId()); in createPrivateVolume()
231 vol->setPartGuid(partGuid); in createPrivateVolume()
232 vol->create(); in createPrivateVolume()
236 for (const auto& vol : mVolumes) { in destroyAllVolumes() local
237 vol->destroy(); in destroyAllVolumes()
436 for (const auto& vol : mVolumes) { in unmountAll() local
437 vol->unmount(); in unmountAll()