Lines Matching refs:vol
114 for (auto vol : mVolumes) { in findVolume() local
115 if (vol->getId() == id) { in findVolume()
116 return vol; in findVolume()
118 auto stackedVol = vol->findVolume(id); in findVolume()
127 for (const auto& vol : mVolumes) { in listVolumes() local
128 if (vol->getType() == type) { in listVolumes()
129 list.push_back(vol->getId()); in listVolumes()
159 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() local
162 vol->setSilent(true); in createPublicVolume()
163 vol->create(); in createPublicVolume()
164 vol->format("auto"); in createPublicVolume()
165 vol->destroy(); in createPublicVolume()
166 vol->setSilent(false); in createPublicVolume()
169 mVolumes.push_back(vol); in createPublicVolume()
170 vol->setDiskId(getId()); in createPublicVolume()
171 vol->create(); in createPublicVolume()
190 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyBuffer)); in createPrivateVolume() local
193 vol->setSilent(true); in createPrivateVolume()
194 vol->create(); in createPrivateVolume()
195 vol->format("auto"); in createPrivateVolume()
196 vol->destroy(); in createPrivateVolume()
197 vol->setSilent(false); in createPrivateVolume()
200 mVolumes.push_back(vol); in createPrivateVolume()
201 vol->setDiskId(getId()); in createPrivateVolume()
202 vol->setPartGuid(partGuid); in createPrivateVolume()
203 vol->create(); in createPrivateVolume()
207 for (const auto& vol : mVolumes) { in destroyAllVolumes() local
208 vol->destroy(); in destroyAllVolumes()
407 for (const auto& vol : mVolumes) { in unmountAll() local
408 vol->unmount(); in unmountAll()