Lines Matching refs:Volume

121 int VolumeManager::addVolume(Volume *v) {
165 Volume *v = lookupVolume(label);
188 snprintf(mountPath, mountPathLen, "%s/%s", Volume::LOOPDIR, idHash);
200 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
208 snprintf(buffer, maxlen, "%s/%s", Volume::ASECDIR, id);
214 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
247 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
359 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
395 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
408 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
426 asprintf(&asecFilename1, "%s/%s.asec", Volume::SEC_ASECDIR, id1);
427 asprintf(&asecFilename2, "%s/%s.asec", Volume::SEC_ASECDIR, id2);
429 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id1);
436 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id2);
470 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
471 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
491 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash);
582 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
583 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
610 snprintf(asecFileName, sizeof(asecFileName), "%s/%s.asec", Volume::SEC_ASECDIR, id);
611 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
751 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::LOOPDIR, idHash);
844 Volume *v = lookupVolume(label);
867 int loopDirLen = sizeof(Volume::LOOPDIR);
869 strcpy(loopDir, Volume::LOOPDIR);
900 Volume *v = lookupVolume(label);
912 if (v->getState() != Volume::State_Shared) {
921 Volume *v = lookupVolume(label);
938 if (v->getState() == Volume::State_NoMedia) {
943 if (v->getState() != Volume::State_Idle) {
999 Volume *v = lookupVolume(label);
1011 if (v->getState() != Volume::State_Shared) {
1091 Volume *v = lookupVolume(label);
1098 if (v->getState() == Volume::State_NoMedia) {
1103 if (v->getState() != Volume::State_Mounted) {
1118 Volume *VolumeManager::lookupVolume(const char *label) {
1159 int VolumeManager::cleanupAsec(Volume *v, bool force) {