• Home
  • Raw
  • Download

Lines Matching refs:v

127 int VolumeManager::addVolume(Volume *v) {  in addVolume()  argument
128 mVolumes->push_back(v); in addVolume()
171 Volume *v = lookupVolume(label); in formatVolume() local
173 if (!v) { in formatVolume()
183 return v->formatVol(); in formatVolume()
1106 Volume *v = lookupVolume(label); in mountVolume() local
1108 if (!v) { in mountVolume()
1113 return v->mountVol(); in mountVolume()
1162 Volume *v = lookupVolume(label); in shareEnabled() local
1164 if (!v) { in shareEnabled()
1174 if (v->getState() != Volume::State_Shared) { in shareEnabled()
1183 Volume *v = lookupVolume(label); in shareVolume() local
1185 if (!v) { in shareVolume()
1200 if (v->getState() == Volume::State_NoMedia) { in shareVolume()
1205 if (v->getState() != Volume::State_Idle) { in shareVolume()
1216 dev_t d = v->getShareDevice(); in shareVolume()
1241 v->handleVolumeShared(); in shareVolume()
1261 Volume *v = lookupVolume(label); in unshareVolume() local
1263 if (!v) { in unshareVolume()
1273 if (v->getState() != Volume::State_Shared) { in unshareVolume()
1292 v->handleVolumeUnshared(); in unshareVolume()
1353 Volume *v = lookupVolume(label); in unmountVolume() local
1355 if (!v) { in unmountVolume()
1360 if (v->getState() == Volume::State_NoMedia) { in unmountVolume()
1365 if (v->getState() != Volume::State_Mounted) { in unmountVolume()
1367 v->getState()); in unmountVolume()
1372 cleanupAsec(v, force); in unmountVolume()
1374 return v->unmountVol(force, revert); in unmountVolume()
1477 int VolumeManager::cleanupAsec(Volume *v, bool force) { in cleanupAsec() argument
1489 if (v == getVolumeForFile(cd->id)) { in cleanupAsec()
1499 SLOGI("Unmounting ASEC %s (dependant on %s)", cd->id, v->getMountpoint()); in cleanupAsec()