Lines Matching refs:v
235 int VolumeManager::addVolume(Volume *v) { in addVolume() argument
236 mVolumes->push_back(v); in addVolume()
294 Volume *v = lookupVolume(label); in formatVolume() local
296 if (!v) { in formatVolume()
306 return v->formatVol(wipe); in formatVolume()
1458 Volume *v = lookupVolume(label); in mountVolume() local
1460 if (!v) { in mountVolume()
1465 return v->mountVol(); in mountVolume()
1514 Volume *v = lookupVolume(label); in shareEnabled() local
1516 if (!v) { in shareEnabled()
1526 if (v->getState() != Volume::State_Shared) { in shareEnabled()
1535 Volume *v = lookupVolume(label); in shareVolume() local
1537 if (!v) { in shareVolume()
1552 if (v->getState() == Volume::State_NoMedia) { in shareVolume()
1557 if (v->getState() != Volume::State_Idle) { in shareVolume()
1568 dev_t d = v->getShareDevice(); in shareVolume()
1598 v->handleVolumeShared(); in shareVolume()
1618 Volume *v = lookupVolume(label); in unshareVolume() local
1620 if (!v) { in unshareVolume()
1630 if (v->getState() != Volume::State_Shared) { in unshareVolume()
1649 v->handleVolumeUnshared(); in unshareVolume()
1710 Volume *v = lookupVolume(label); in unmountVolume() local
1712 if (!v) { in unmountVolume()
1717 if (v->getState() == Volume::State_NoMedia) { in unmountVolume()
1722 if (v->getState() != Volume::State_Mounted) { in unmountVolume()
1724 v->getState()); in unmountVolume()
1729 cleanupAsec(v, force); in unmountVolume()
1731 return v->unmountVol(force, revert); in unmountVolume()
1834 int VolumeManager::cleanupAsec(Volume *v, bool force) { in cleanupAsec() argument
1858 if (v == getVolumeForFile(cd->id)) { in cleanupAsec()
1868 SLOGI("Unmounting ASEC %s (dependent on %s)", cd->id, v->getLabel()); in cleanupAsec()
1877 SLOGI("Unmounting OBB %s (dependent on %s)", cd->id, v->getLabel()); in cleanupAsec()