Lines Matching refs:vol

96     for (auto vol : mVolumes) {  in findVolume()  local
97 if (vol->getId() == id) { in findVolume()
98 return vol; in findVolume()
100 auto stackedVol = vol->findVolume(id); in findVolume()
109 for (auto vol : mVolumes) { in listVolumes() local
110 if (vol->getType() == type) { in listVolumes()
111 list.push_back(vol->getId()); in listVolumes()
135 auto vol = std::shared_ptr<VolumeBase>(new PublicVolume(device)); in createPublicVolume() local
138 vol->setSilent(true); in createPublicVolume()
139 vol->create(); in createPublicVolume()
140 vol->format("auto"); in createPublicVolume()
141 vol->destroy(); in createPublicVolume()
142 vol->setSilent(false); in createPublicVolume()
145 mVolumes.push_back(vol); in createPublicVolume()
146 vol->setDiskId(getId()); in createPublicVolume()
147 vol->create(); in createPublicVolume()
165 auto vol = std::shared_ptr<VolumeBase>(new PrivateVolume(device, keyRaw)); in createPrivateVolume() local
168 vol->setSilent(true); in createPrivateVolume()
169 vol->create(); in createPrivateVolume()
170 vol->format("auto"); in createPrivateVolume()
171 vol->destroy(); in createPrivateVolume()
172 vol->setSilent(false); in createPrivateVolume()
175 mVolumes.push_back(vol); in createPrivateVolume()
176 vol->setDiskId(getId()); in createPrivateVolume()
177 vol->setPartGuid(partGuid); in createPrivateVolume()
178 vol->create(); in createPrivateVolume()
182 for (auto vol : mVolumes) { in destroyAllVolumes() local
183 vol->destroy(); in destroyAllVolumes()
336 for (auto vol : mVolumes) { in unmountAll() local
337 vol->unmount(); in unmountAll()