Lines Matching refs:vol

125     for (auto vol : mVolumes) {  in findVolume()  local
126 if (vol->getId() == id) { in findVolume()
127 return vol; in findVolume()
129 auto stackedVol = vol->findVolume(id); in findVolume()
138 for (auto vol : mVolumes) { in listVolumes() local
139 if (vol->getType() == type) { in listVolumes()
140 list.push_back(vol->getId()); in listVolumes()
164 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() local
167 vol->setSilent(true); in createPublicVolume()
168 vol->create(); in createPublicVolume()
169 vol->format("auto"); in createPublicVolume()
170 vol->destroy(); in createPublicVolume()
171 vol->setSilent(false); in createPublicVolume()
174 mVolumes.push_back(vol); in createPublicVolume()
175 vol->setDiskId(getId()); in createPublicVolume()
176 vol->create(); in createPublicVolume()
194 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw)); in createPrivateVolume() local
197 vol->setSilent(true); in createPrivateVolume()
198 vol->create(); in createPrivateVolume()
199 vol->format("auto"); in createPrivateVolume()
200 vol->destroy(); in createPrivateVolume()
201 vol->setSilent(false); in createPrivateVolume()
204 mVolumes.push_back(vol); in createPrivateVolume()
205 vol->setDiskId(getId()); in createPrivateVolume()
206 vol->setPartGuid(partGuid); in createPrivateVolume()
207 vol->create(); in createPrivateVolume()
211 for (auto vol : mVolumes) { in destroyAllVolumes() local
212 vol->destroy(); in destroyAllVolumes()
372 for (auto vol : mVolumes) { in unmountAll() local
373 vol->unmount(); in unmountAll()