#include <time.h>#include <libintl.h>#include <string.h>#include <cstdarg>#include <cstdio>#include <fstream>#include <sstream>#include <locale>#include <string>#include <list>#include <map>Go to the source code of this file.
Namespaces | |
| namespace | storage |
Defines | |
| #define | y2debug(format,...) logMsgVaArgs(storage::DEBUG, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
| #define | y2milestone(format,...) logMsgVaArgs(storage::MILESTONE, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
| #define | y2warning(format,...) logMsgVaArgs(storage::WARNING, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
| #define | y2error(format,...) logMsgVaArgs(storage::ERROR, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
| #define | y2deb(op) y2log_op(storage::DEBUG, __FILE__, __LINE__, __FUNCTION__, op) |
| #define | y2mil(op) y2log_op(storage::MILESTONE, __FILE__, __LINE__, __FUNCTION__, op) |
| #define | y2war(op) y2log_op(storage::WARNING, __FILE__, __LINE__, __FUNCTION__, op) |
| #define | y2err(op) y2log_op(storage::ERROR, __FILE__, __LINE__, __FUNCTION__, op) |
| #define | y2log_op(level, file, line, function, op) |
Enumerations | |
| enum | storage::LogLevel { storage::DEBUG, storage::MILESTONE, storage::WARNING, storage::ERROR } |
Functions | |
| bool | storage::searchFile (AsciiFile &File_Cr, string Pat_Cv, string &Line_Cr) |
| bool | storage::searchFile (AsciiFile &File_Cr, string Pat_Cv, string &Line_Cr, int &LineNr_ir) |
| void | storage::createPath (string Path_Cv) |
| bool | storage::checkNormalFile (string Path_Cv) |
| bool | storage::checkDir (string Path_Cv) |
| string | storage::dupDash (const string &s) |
| string | storage::extractNthWord (int Num_iv, const string &Line_Cv, bool GetRest_bi) |
| list< string > | storage::splitString (const string &s, const string &delChars, bool multipleDelim, bool skipEmpty, const string "es) |
| string | storage::mergeString (const list< string > &l, const string &del) |
| map< string, string > | storage::makeMap (const list< string > &l, const string &delim, const string &removeSur) |
| bool | storage::readlink (const string &path, string &buf) |
| string | storage::udevAppendPart (const string &s, unsigned num) |
| void | storage::getUdevMap (const char *path, map< string, list< string >> &m) |
| void | storage::getRevUdevMap (const char *path, map< string, string > &m) |
| string | storage::normalizeDevice (const string &dev) |
| void | storage::normalizeDevice (string &dev) |
| string | storage::undevDevice (const string &dev) |
| void | storage::undevDevice (string &dev) |
| bool | storage::isNfsDev (const string &dev) |
| unsigned | storage::getMajorDevices (const string &driver) |
| template<class StreamType> | |
| void | storage::classic (StreamType &stream) |
| void | storage::createLogger (const string &lcomponent, const string &name, const string &logpath, const string &logfile) |
| bool | storage::testLogLevel (LogLevel level) |
| void | storage::logMsg (LogLevel level, const char *file, unsigned line, const char *func, const string &str) |
| void | storage::logMsgVaArgs (LogLevel level, const char *file, unsigned line, const char *func, const char *format,...) |
| void | storage::prepareLogStream (std::ostringstream &s) |
| string | storage::sformat (const char *format,...) |
| string | storage::byteToHumanString (unsigned long long size, bool classic, int precision, bool omit_zeroes) |
| bool | storage::humanStringToByte (const string &str, bool classic, unsigned long long &size) |
| const char * | storage::_ (const char *msgid) |
| const char * | storage::_ (const char *msgid, const char *msgid_plural, unsigned long int n) |
| #define y2deb | ( | op | ) | y2log_op(storage::DEBUG, __FILE__, __LINE__, __FUNCTION__, op) |
Referenced by storage::SystemCmd::addLine(), storage::Container::Container(), storage::Dasd::Dasd(), storage::Disk::Disk(), storage::Dm::Dm(), storage::DmCo::DmCo(), storage::DmmultipathCo::DmmultipathCo(), storage::DmPart::DmPart(), storage::DmPartCo::DmPartCo(), storage::DmraidCo::DmraidCo(), storage::SystemCmd::doExecute(), storage::SystemCmd::getUntilEOF(), storage::Disk::getUnusedSpace(), storage::Lock::Lock(), storage::Loop::Loop(), storage::LoopCo::LoopCo(), storage::LvmLv::LvmLv(), storage::LvmVg::LvmVg(), storage::Md::Md(), storage::MdCo::MdCo(), storage::MdPart::MdPart(), storage::MdPartCo::MdPartCo(), storage::Nfs::Nfs(), storage::NfsCo::NfsCo(), storage::SystemCmd::numLines(), storage::Volume::operator=(), storage::Partition::operator=(), storage::Nfs::operator=(), storage::MdPart::operator=(), storage::Md::operator=(), storage::LvmLv::operator=(), storage::Loop::operator=(), storage::Dmraid::operator=(), storage::DmPart::operator=(), storage::Dmmultipath::operator=(), storage::Dm::operator=(), storage::Disk::operator=(), storage::Dasd::operator=(), storage::Container::operator=(), storage::Partition::Partition(), storage::PeContainer::PeContainer(), storage::DasdfmtScrollbar::process(), storage::ReiserScrollbar::process(), storage::Mke2fsScrollbar::process(), storage::Dasd::scanFdasdLine(), storage::Disk::scanPartedLine(), storage::DmCo::second(), storage::Volume::Volume(), storage::Container::~Container(), storage::Dasd::~Dasd(), storage::Disk::~Disk(), storage::Dm::~Dm(), storage::DmCo::~DmCo(), storage::Dmmultipath::~Dmmultipath(), storage::DmmultipathCo::~DmmultipathCo(), storage::DmPart::~DmPart(), storage::DmPartCo::~DmPartCo(), storage::Dmraid::~Dmraid(), storage::DmraidCo::~DmraidCo(), storage::Loop::~Loop(), storage::LoopCo::~LoopCo(), storage::LvmLv::~LvmLv(), storage::LvmVg::~LvmVg(), storage::Md::~Md(), storage::MdCo::~MdCo(), storage::MdPart::~MdPart(), storage::MdPartCo::~MdPartCo(), storage::Nfs::~Nfs(), storage::NfsCo::~NfsCo(), storage::Partition::~Partition(), storage::PeContainer::~PeContainer(), and storage::Volume::~Volume().
| #define y2debug | ( | format, | |||
| ... | ) | logMsgVaArgs(storage::DEBUG, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
Referenced by storage::SystemCmd::checkOutput(), storage::SystemCmd::doExecute(), storage::SystemCmd::doWait(), storage::SystemCmd::extractNewline(), StorageCallbacks::InfoPopup(), storage::LvmVg::LvmVg(), storage::Partition::Partition(), StorageCallbacks::PasswordPopup(), StorageCallbacks::ProgressBar(), storage::Disk::scanPartedLine(), storage::SystemCmd::select(), StorageCallbacks::ShowInstallInfo(), storage::Volume::Volume(), and StorageCallbacks::YesNoPopup().
| #define y2err | ( | op | ) | y2log_op(storage::ERROR, __FILE__, __LINE__, __FUNCTION__, op) |
Referenced by storage::Storage::autodetectDisks(), storage::LvmLv::calcSize(), storage::Container::compareContainer(), storage::LvmVg::doCreateVg(), storage::SystemCmd::doExecute(), storage::SystemCmd::getLine(), storage::SystemCmd::getString(), storage::MdPartCo::handleWholeDevice(), storage::DmPartCo::handleWholeDevice(), storage::DmPartCo::init(), storage::Lock::Lock(), storage::Loop::Loop(), storage::LvmVg::LvmVg(), storage::Md::Md(), storage::Nfs::Nfs(), storage::SystemCmd::numLines(), storage::DasdfmtScrollbar::process(), storage::DmPartCo::removeDmPart(), storage::MdPartCo::removeMdPart(), storage::SystemCmd::select(), storage::Storage::setUsedBy(), and storage::Storage::~Storage().
| #define y2error | ( | format, | |||
| ... | ) | logMsgVaArgs(storage::ERROR, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
Referenced by storage::Disk::checkSystemError(), StorageCallbacks::createFunctionCall(), storage::SystemCmd::doExecute(), storage::MdPartCo::doRemove(), storage::SystemCmd::doWait(), storage::Disk::getPartedValues(), StorageCallbacks::InfoPopup(), storage::LvmVg::LvmVg(), StorageCallbacks::PasswordPopup(), StorageCallbacks::ProgressBar(), storage::Storage::rootMounted(), storage::Disk::setLabelData(), StorageCallbacks::ShowInstallInfo(), and StorageCallbacks::YesNoPopup().
| #define y2log_op | ( | level, | |||
| file, | |||||
| line, | |||||
| function, | |||||
| op | ) |
Value:
do { \ if (storage::testLogLevel(level)) \ { \ std::ostringstream __buf; \ storage::prepareLogStream(__buf); \ __buf << op; \ storage::logMsg(level, file, line, function, __buf.str()); \ } \ } while (0)
| #define y2mil | ( | op | ) | y2log_op(storage::MILESTONE, __FILE__, __LINE__, __FUNCTION__, op) |
Referenced by storage::LvmVg::activate(), storage::DmmultipathCo::activate(), storage::Storage::activateHld(), storage::Storage::activateMultipath(), storage::Md::addDevice(), storage::PeContainer::addedPv(), storage::EtcFstab::addEntry(), storage::Storage::addFstabEntry(), storage::Storage::addFstabOptions(), storage::Storage::addInfoPopupText(), storage::SystemCmd::addLine(), storage::PeContainer::addLvPeDistribution(), storage::MdPartCo::addNewDev(), storage::DmPartCo::addNewDev(), storage::NfsCo::addNfs(), storage::Storage::addNfsDevice(), storage::Disk::addPartition(), storage::Partition::addUdevData(), storage::Volume::allowedMountBy(), storage::Storage::autodetectDisks(), storage::Disk::availablePartNumber(), storage::MdCo::canHandleDev(), storage::Nfs::canonicalName(), storage::Volume::canResize(), storage::Storage::changeDescText(), storage::Storage::changeDeviceName(), storage::Storage::changeFormatVolume(), storage::Volume::changeFstabOptions(), storage::Storage::changeFstabOptions(), storage::Partition::changeId(), storage::Storage::changeLabelVolume(), storage::Storage::changeLvStripeCount(), storage::Storage::changeLvStripeSize(), storage::Storage::changeMdChunk(), storage::MdCo::changeMdChunk(), storage::Storage::changeMdParity(), storage::MdCo::changeMdParity(), storage::Storage::changeMdType(), storage::MdCo::changeMdType(), storage::Storage::changeMkfsOptVolume(), storage::Volume::changeMount(), storage::Partition::changeMount(), storage::Volume::changeMountBy(), storage::Storage::changeMountBy(), storage::Storage::changeMountPoint(), storage::MdPartCo::changePartitionArea(), storage::DmPartCo::changePartitionArea(), storage::Disk::changePartitionArea(), storage::Storage::changePartitionId(), storage::MdPartCo::changePartitionId(), storage::DmPartCo::changePartitionId(), storage::Disk::changePartitionId(), storage::EtcFstab::changeRootPrefix(), storage::LvmVg::changeStripe(), storage::LvmVg::changeStripeSize(), storage::Storage::changeTunefsOptVolume(), storage::Storage::checkBackupState(), storage::PeContainer::checkCreateConstraints(), storage::Storage::checkDeviceExclusive(), storage::Md::checkDevices(), storage::Storage::checkDmMapsTo(), storage::Dasd::checkFdasdOutput(), storage::Storage::checkMd(), storage::MdCo::checkMd(), storage::Storage::checkNfsDevice(), storage::Disk::checkPartedOutput(), storage::Disk::checkPartedValid(), storage::Loop::checkReuse(), storage::Disk::checkSystemError(), storage::CmdMultipath::CmdMultipath(), storage::Storage::commit(), storage::MdPartCo::commitChanges(), storage::LvmVg::commitChanges(), storage::DmPartCo::commitChanges(), storage::Disk::commitChanges(), storage::Dasd::commitChanges(), storage::Container::commitChanges(), storage::Storage::commitPair(), storage::Container::compareContainer(), storage::Storage::createBackupState(), storage::Disk::createChecks(), storage::Md::createCmd(), storage::EtcFstab::createCrtabLine(), storage::Loop::createFile(), storage::Storage::createFileLoop(), storage::EtcFstab::createLine(), storage::LoopCo::createLoop(), storage::Storage::createLvmLvSnapshot(), storage::Storage::createLvmVg(), storage::LvmVg::createLvSnapshot(), storage::Storage::createMd(), storage::MdCo::createMd(), storage::Storage::createMdAny(), storage::MdPartCo::createPartition(), storage::DmPartCo::createPartition(), storage::Disk::createPartition(), storage::EtcFstab::createTabLine(), storage::Volume::cryptUnsetup(), storage::Disk::defaultLabel(), storage::Volume::defaultMountBy(), storage::Storage::destroyPartitionTable(), storage::MdPartCo::destroyPartitionTable(), storage::DmPartCo::destroyPartitionTable(), storage::Disk::destroyPartitionTable(), storage::Storage::detectArch(), storage::DmCo::detectEncryption(), storage::Storage::detectFsData(), storage::Storage::detectMdParts(), storage::Storage::detectObjects(), storage::Dasd::detectPartitions(), storage::Storage::discoverMdPVols(), storage::Dmmultipath::Dmmultipath(), storage::Dm::dmName(), storage::Dm::dmNumber(), storage::DmPart::DmPart(), storage::Dmraid::Dmraid(), storage::MdPartCo::doCreate(), storage::MdCo::doCreate(), storage::LvmVg::doCreate(), storage::LoopCo::doCreate(), storage::DmPartCo::doCreate(), storage::Disk::doCreate(), storage::MdPartCo::doCreateLabel(), storage::DmPartCo::doCreateLabel(), storage::Disk::doCreateLabel(), storage::LvmVg::doCreatePv(), storage::LvmVg::doCreateVg(), storage::Volume::doCrsetup(), storage::Volume::doCryptsetup(), storage::Dasd::doDasdfmt(), storage::SystemCmd::doExecute(), storage::LvmVg::doExtendVg(), storage::Dasd::doFdasd(), storage::Volume::doFormat(), storage::Volume::doFstabUpdate(), storage::Volume::doLosetup(), storage::Volume::doMount(), storage::LvmVg::doReduceVg(), storage::NfsCo::doRemove(), storage::MdPartCo::doRemove(), storage::MdCo::doRemove(), storage::LvmVg::doRemove(), storage::LoopCo::doRemove(), storage::DmraidCo::doRemove(), storage::DmPartCo::doRemove(), storage::DmCo::doRemove(), storage::Disk::doRemove(), storage::LvmVg::doRemoveVg(), storage::MdPartCo::doResize(), storage::LvmVg::doResize(), storage::DmPartCo::doResize(), storage::Disk::doResize(), storage::Volume::doSetLabel(), storage::MdPartCo::doSetType(), storage::DmPartCo::doSetType(), storage::Disk::doSetType(), storage::Storage::dumpObjectList(), storage::Disk::enlargeGpt(), storage::Storage::equalBackupStates(), storage::Storage::eraseLabelVolume(), storage::SystemCmd::execute(), storage::SystemCmd::executeBackground(), storage::Storage::extendLvmVg(), storage::Storage::extendMd(), storage::MdCo::extendMd(), storage::LvmVg::extendVg(), storage::MdPartCo::filterMdPartCo(), storage::Storage::findDiskId(), storage::Storage::findDiskPath(), storage::Storage::findDm(), storage::Storage::findDmUsing(), storage::EtcFstab::findFile(), storage::EtcFstab::findIdPath(), storage::Storage::findNormalDevice(), storage::PeContainer::findPe(), storage::EtcFstab::findPrefix(), storage::EtcFstab::findUuidLabel(), storage::Storage::findVolume(), storage::EtcFstab::flush(), storage::Storage::forgetChangePartitionId(), storage::MdPartCo::forgetChangePartitionId(), storage::DmPartCo::forgetChangePartitionId(), storage::Disk::forgetChangePartitionId(), storage::Storage::forgetCryptPassword(), storage::Storage::forgetResizeVolume(), storage::Storage::freeCylindersAfterPartition(), storage::MdPartCo::freeCylindersAfterPartition(), storage::DmPartCo::freeCylindersAfterPartition(), storage::Disk::freeCylindersAfterPartition(), storage::Storage::getAllUsedFs(), storage::MdPartCo::getCommitActions(), storage::LvmVg::getCommitActions(), storage::DmPartCo::getCommitActions(), storage::Dasd::getCommitActions(), storage::Storage::getCommitInfo(), storage::Storage::getContainers(), storage::MdPartCo::getContMember(), storage::Storage::getContVolInfo(), storage::Storage::getCryptPassword(), storage::Volume::getCryptsetupCmd(), storage::Storage::getDfSize(), storage::Storage::getDiskList(), storage::Disk::getDiskPartition(), storage::DmCo::getDmData(), storage::Volume::getFilesysSysfsPath(), storage::Storage::getFreeInfo(), storage::Volume::getFreeLoop(), storage::Volume::getFsData(), storage::Volume::getFstabData(), storage::Volume::getFstabDevice(), storage::Disk::getGeometry(), storage::Dasd::getGeometry(), storage::LvmVg::getInfo(), storage::DmPartCo::getInfo(), storage::Volume::getLoopData(), storage::LoopCo::getLoopData(), storage::Loop::getLoopMajor(), storage::Storage::getLvmLvSnapshotStateInfo(), storage::LvmVg::getLvSnapshotState(), storage::getMajorDevices(), storage::MdCo::getMdData(), storage::Md::getMdMajor(), storage::MdPartCo::getMdProps(), storage::MdPartCo::getMdRaids(), storage::Storage::getMountBy(), storage::Volume::getMountData(), storage::Storage::getMountPoint(), storage::DmmultipathCo::getMultipathData(), storage::DmmultipathCo::getMultipaths(), storage::NfsCo::getNfsData(), storage::Md::getParent(), storage::MdPartCo::getPartition(), storage::DmPartCo::getPartition(), storage::Disk::getPartitionAfter(), storage::DmraidCo::getRaidData(), storage::DmraidCo::getRaids(), storage::getRevUdevMap(), storage::ProcPart::getSize(), storage::MdPartCo::getSlaves(), storage::Disk::getSysfsInfo(), storage::Dm::getTableInfo(), storage::MdPartCo::getToCommit(), storage::Container::getToCommit(), storage::getUdevMap(), storage::SystemCmd::getUntilEOF(), storage::Storage::getUnusedPartitionSlots(), storage::Disk::getUnusedSpace(), storage::LvmVg::getVgs(), storage::Storage::handleHald(), storage::MdPartCo::handleWholeDevice(), storage::Storage::hasIScsiDisks(), haveQuota(), storage::Storage::ignoreError(), storage::PeContainer::init(), storage::MdPartCo::init(), storage::DmPartCo::init(), storage::Storage::initDisk(), storage::Storage::initialize(), storage::Storage::initializeDisk(), storage::NfsCo::isNfsDev(), storage::Volume::isTmpCryptMp(), storage::AsciiFile::loadFile(), storage::Lock::Lock(), storage::Storage::logCo(), storage::Partition::logDifference(), storage::NfsCo::logDifference(), storage::Nfs::logDifference(), storage::MdPartCo::logDifference(), storage::MdPart::logDifference(), storage::MdCo::logDifference(), storage::Md::logDifference(), storage::LvmVg::logDifference(), storage::LvmLv::logDifference(), storage::LoopCo::logDifference(), storage::Loop::logDifference(), storage::DmPartCo::logDifference(), storage::DmPart::logDifference(), storage::DmCo::logDifference(), storage::Dm::logDifference(), storage::Disk::logDifference(), storage::Container::logDifference(), storage::SystemCmd::logOutput(), storage::Storage::logProcData(), storage::Storage::logSystemInfo(), storage::Loop::Loop(), storage::Dm::mapsTo(), storage::Md::Md(), storage::MdPartCo::mdadmLine(), storage::Md::mdadmLine(), storage::MdPart::MdPart(), storage::MdPartCo::MdPartCo(), storage::Storage::modifyFileLoop(), storage::Volume::mount(), storage::Storage::mountDev(), storage::Storage::needCryptPassword(), storage::Volume::needCryptPwd(), storage::Volume::needCryptsetup(), storage::DmraidCo::newP(), storage::DmPartCo::newP(), storage::DmmultipathCo::newP(), storage::MdPartCo::nextFreePartition(), storage::DmPartCo::nextFreePartition(), storage::Disk::nextFreePartition(), storage::LvmVg::normalizeDmDevices(), storage::DmPartCo::numToName(), storage::operator<(), storage::Storage::passwordPopupCb(), storage::Volume::prepareRemove(), printFile(), storage::DasdfmtScrollbar::process(), storage::OutputProcessor::process(), storage::ProcMounts::ProcMounts(), storage::ProcPart::ProcPart(), storage::EtcFstab::readFiles(), storage::Storage::readFstab(), storage::LvmVg::reduceVg(), storage::PeContainer::remLvPeDistribution(), storage::Storage::removeBackupState(), storage::Storage::removeContainer(), storage::Md::removeDevice(), storage::Storage::removeDm(), storage::DmCo::removeDm(), storage::Storage::removeDmMapsTo(), storage::DmPartCo::removeDmPart(), storage::Storage::removeDmTable(), storage::Storage::removeDmTableTo(), storage::EtcFstab::removeEntry(), storage::Storage::removeFileLoop(), storage::MdPartCo::removeFromMemory(), storage::DmPartCo::removeFromMemory(), storage::Disk::removeFromMemory(), storage::Storage::removeFstabOptions(), storage::AsciiFile::removeIfEmpty(), storage::LoopCo::removeLoop(), storage::LvmVg::removeLv(), storage::Storage::removeLvmLv(), storage::Storage::removeLvmLvByDevice(), storage::Storage::removeLvmLvSnapshot(), storage::Storage::removeLvmVg(), storage::LvmVg::removeLvSnapshot(), storage::Storage::removeMd(), storage::MdCo::removeMd(), storage::MdPartCo::removeMdPart(), storage::Storage::removeMdPartCo(), storage::Storage::removePartition(), storage::MdPartCo::removePartition(), storage::DmPartCo::removePartition(), storage::Disk::removePartition(), storage::Dasd::removePartition(), storage::MdPartCo::removePresentPartitions(), storage::DmPartCo::removePresentPartitions(), storage::Disk::removePresentPartitions(), storage::Storage::removeUsing(), storage::LvmVg::removeVg(), storage::Storage::removeVolume(), storage::NfsCo::removeVolume(), storage::MdPartCo::removeVolume(), storage::LoopCo::removeVolume(), storage::DmPartCo::removeVolume(), storage::DmCo::removeVolume(), storage::Volume::replaceAltName(), storage::Storage::rescanEverything(), storage::Volume::resizeFs(), storage::Storage::resizePartition(), storage::MdPartCo::resizePartition(), storage::DmPartCo::resizePartition(), storage::Disk::resizePartition(), storage::Storage::resizeVolume(), storage::MdPartCo::resizeVolume(), storage::LvmVg::resizeVolume(), storage::DmPartCo::resizeVolume(), storage::Disk::resizeVolume(), storage::Storage::restoreBackupState(), storage::MdPartCo::scanForRaid(), storage::Disk::scanPartedLine(), storage::Storage::setCryptPassword(), storage::Volume::setCryptPwd(), storage::Storage::setCryptType(), storage::ScrollBarHandler::setCurValue(), storage::Storage::setDefaultMountBy(), storage::Storage::setDmcryptData(), storage::Volume::setDmcryptDev(), storage::Loop::setDmcryptDev(), storage::Volume::setDmcryptDevEnc(), storage::Storage::setEfiBoot(), storage::Volume::setEncryption(), storage::Loop::setEncryption(), storage::Volume::setFormat(), storage::Partition::setFormat(), storage::Storage::setIgnoreFstab(), storage::Volume::setLabel(), storage::Dm::setPeMap(), storage::LvmVg::setPeSize(), storage::MdPartCo::setUdevData(), storage::DmraidCo::setUdevData(), storage::DmmultipathCo::setUdevData(), storage::Disk::setUdevData(), storage::Storage::setUsedBy(), storage::Storage::shrinkLvmVg(), storage::Storage::shrinkMd(), storage::MdCo::shrinkMd(), storage::Storage::sortCommitLists(), storage::Storage::Storage(), storage::Volume::sysfsPath(), storage::Partition::sysfsPath(), storage::Dm::sysfsPath(), storage::SystemCmd::SystemCmd(), storage::Storage::testFilesEqual(), storage::Volume::triggerUdevUpdate(), storage::Volume::umount(), storage::Storage::umountDevice(), storage::MdPartCo::updateDelDev(), storage::DmPartCo::updateDelDev(), storage::Storage::updateDmEmptyPeMap(), storage::DmCo::updateDmMaps(), storage::EtcRaidtab::updateEntry(), storage::EtcFstab::updateEntry(), storage::LoopCo::updateLoop(), storage::Storage::updatePartitionArea(), storage::Storage::usedBy(), storage::MdPartCo::validPartition(), storage::DmPartCo::validPartition(), storage::Storage::verifyCryptFilePassword(), storage::Storage::verifyCryptPassword(), storage::Storage::waitForDevice(), storage::Storage::zeroDevice(), storage::Lock::~Lock(), and storage::Storage::~Storage().
| #define y2milestone | ( | format, | |||
| ... | ) | logMsgVaArgs(storage::MILESTONE, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
Referenced by storage::MdCo::activate(), storage::DmraidCo::activate(), storage::Dm::activate(), storage::DmPartCo::activate_part(), storage::Storage::addFstabEntry(), storage::Storage::addFstabOptions(), storage::LvmVg::addLv(), storage::PeContainer::addLvPeDistribution(), storage::Volume::canResize(), storage::Storage::canUseDevice(), storage::Storage::changeDescText(), storage::Storage::changeFormatVolume(), storage::Volume::changeFstabOptions(), storage::Storage::changeFstabOptions(), storage::Storage::changeLabelVolume(), storage::Storage::changeLvStripeCount(), storage::Storage::changeLvStripeSize(), storage::Storage::changeMdChunk(), storage::MdCo::changeMdChunk(), storage::Storage::changeMdParity(), storage::MdCo::changeMdParity(), storage::Storage::changeMdType(), storage::MdCo::changeMdType(), storage::Storage::changeMkfsOptVolume(), storage::Partition::changeMount(), storage::Storage::changeMountBy(), storage::Storage::changeMountPoint(), storage::Disk::changeNumbers(), storage::Disk::changePartitionArea(), storage::Storage::changePartitionId(), storage::EtcFstab::changeRootPrefix(), storage::LvmVg::changeStripe(), storage::LvmVg::changeStripeSize(), storage::Storage::changeTunefsOptVolume(), storage::Storage::checkBackupState(), storage::Volume::checkDevice(), storage::Storage::checkDeviceMounted(), storage::Storage::checkDmMapsTo(), storage::Storage::checkMd(), storage::MdCo::checkMd(), storage::Disk::checkSystemError(), storage::MdCo::checkUse(), storage::Storage::commit(), storage::LvmVg::commitChanges(), storage::DmPartCo::commitChanges(), storage::Disk::commitChanges(), storage::Dasd::commitChanges(), storage::Storage::commitPair(), storage::Storage::computeMdSize(), storage::Storage::createBackupState(), storage::Disk::createChecks(), storage::Storage::createFileLoop(), storage::LvmVg::createLv(), storage::Storage::createLvmLv(), storage::Storage::createMdAny(), storage::Storage::createPartition(), storage::DmPartCo::createPartition(), storage::Disk::createPartition(), storage::Storage::createPartitionAny(), storage::Storage::createPartitionKb(), storage::Storage::createPartitionMax(), storage::Storage::cylinderToKb(), storage::Storage::deletedDevice(), storage::Storage::destroyPartitionTable(), storage::DmPartCo::destroyPartitionTable(), storage::Disk::destroyPartitionTable(), storage::Volume::detectEncryption(), storage::Storage::detectFsData(), storage::Disk::detectGeometry(), storage::Dasd::detectGeometry(), storage::Storage::detectLvmVgs(), storage::Disk::detectPartitions(), storage::Dasd::detectPartitions(), storage::Dasd::detectPartitionsFdasd(), storage::Storage::deviceByNumber(), storage::Storage::deviceSize(), storage::Dm::devToTable(), storage::Disk::Disk(), storage::Dm::Dm(), storage::MdCo::doCreate(), storage::LvmVg::doCreate(), storage::DmPartCo::doCreate(), storage::Disk::doCreate(), storage::DmPartCo::doCreateLabel(), storage::Disk::doCreateLabel(), storage::LvmVg::doCreateVg(), storage::Dasd::doDasdfmt(), storage::LvmVg::doExtendVg(), storage::Volume::doFstabUpdate(), storage::Volume::doLosetup(), storage::Volume::doMount(), storage::LvmVg::doReduceVg(), storage::MdPartCo::doRemove(), storage::MdCo::doRemove(), storage::LvmVg::doRemove(), storage::DmraidCo::doRemove(), storage::DmPartCo::doRemove(), storage::Disk::doRemove(), storage::LvmVg::doRemoveVg(), storage::LvmVg::doResize(), storage::DmPartCo::doResize(), storage::Disk::doResize(), storage::DmPartCo::doSetType(), storage::Disk::doSetType(), storage::Storage::eraseLabelVolume(), storage::EtcFstab::EtcFstab(), storage::Storage::extendMd(), storage::MdCo::extendMd(), storage::EtcFstab::findCrtab(), storage::EtcFstab::findFile(), storage::EtcFstab::findPrefix(), storage::EtcFstab::findUuidLabel(), storage::Storage::findVolume(), storage::Storage::forgetChangePartitionId(), storage::Disk::forgetChangePartitionId(), storage::Storage::forgetCryptPassword(), storage::Storage::forgetResizeVolume(), storage::Volume::fstabUpdateDone(), storage::Storage::getCrypt(), storage::Storage::getCryptPassword(), storage::Volume::getCryptsetupCmd(), storage::Dm::getDmMajor(), storage::Storage::getFreeInf(), storage::Storage::getFreeInfo(), storage::Volume::getFreeLoop(), storage::Storage::getFstabOptions(), storage::Disk::getGeometry(), storage::Dasd::getGeometry(), storage::Storage::getIgnoreFstab(), storage::Volume::getLosetupCmd(), storage::MdCo::getMdData(), storage::MdCo::getMdState(), storage::Storage::getMdStateInfo(), storage::Storage::getMountBy(), storage::Volume::getMountData(), storage::Storage::getMountPoint(), storage::Disk::getPartedSectors(), storage::Disk::getPartedValues(), storage::Disk::getPartitionAfter(), storage::DmraidCo::getRaidData(), storage::Dm::getTableInfo(), storage::LvmVg::getToCommit(), storage::DmPartCo::getToCommit(), storage::Disk::getToCommit(), storage::Dasd::getToCommit(), storage::LvmVg::getVgData(), storage::Storage::getVolume(), storage::Storage::handleLogFile(), storage::DmPartCo::handleWholeDevice(), storage::Storage::infoPopupCb(), storage::Storage::initDisk(), storage::Storage::initializeDisk(), storage::Dasd::initializeDisk(), storage::Disk::isLogical(), storage::Storage::kbToCylinder(), storage::Disk::kbToCylinder(), storage::Storage::knownDevice(), storage::PeContainer::leByLvRemove(), storage::Dm::mapsTo(), storage::Disk::maxSizeLabelK(), storage::Storage::modifyFileLoop(), storage::Volume::mount(), storage::Storage::mountDev(), storage::Storage::nextFreeMd(), storage::Storage::nextFreePartition(), storage::Volume::prepareRemove(), storage::Storage::progressBarCb(), storage::EtcFstab::readFiles(), storage::Storage::readFstab(), storage::Disk::redetectGeometry(), storage::Storage::removeBackupState(), storage::Storage::removeContainer(), storage::DmPartCo::removeDmPart(), storage::Storage::removeFileLoop(), storage::Container::removeFromList(), storage::Storage::removeFstabOptions(), storage::LvmVg::removeLv(), storage::Storage::removeLvmLv(), storage::Storage::removeLvmVg(), storage::Storage::removeMd(), storage::MdCo::removeMd(), storage::Storage::removePartition(), storage::Disk::removePartition(), storage::Dasd::removePartition(), storage::LvmVg::removeVg(), storage::Storage::removeVolume(), storage::MdCo::removeVolume(), storage::Volume::rename(), storage::Storage::resizePartition(), storage::Storage::resizeVolume(), storage::LvmVg::resizeVolume(), storage::Storage::restoreBackupState(), storage::Dasd::scanFdasdLine(), storage::Disk::scanPartedLine(), storage::SystemCmd::select(), storage::Storage::setCrypt(), storage::Volume::setCryptPwd(), storage::Storage::setCryptType(), storage::Storage::setDetectMountedVolumes(), storage::Storage::setDmcryptData(), storage::Volume::setEncryption(), storage::Volume::setFormat(), storage::Partition::setFormat(), storage::Storage::setFreeInfo(), storage::Storage::setIgnoreFstab(), storage::Volume::setLabel(), storage::Disk::setLabelData(), storage::LvmVg::setPeSize(), storage::Storage::setRecursiveRemoval(), storage::Storage::setRootPrefix(), storage::Storage::setZeroNewPartitions(), storage::Storage::showInfoCb(), storage::Storage::shrinkMd(), storage::MdCo::shrinkMd(), storage::Storage::sortCommitLists(), storage::PeContainer::tryUnusePe(), storage::Volume::umount(), storage::Storage::umountDevice(), storage::Storage::updatePartitionArea(), storage::Storage::verifyCryptPassword(), storage::Storage::waitForDevice(), storage::Storage::yesnoPopupCb(), and storage::Partition::zeroIfNeeded().
| #define y2war | ( | op | ) | y2log_op(storage::WARNING, __FILE__, __LINE__, __FUNCTION__, op) |
Referenced by storage::DmCo::addDm(), storage::MdPartCo::addNewDev(), storage::Md::addSpareDevice(), storage::Disk::changePartitionArea(), storage::Disk::changePartitionId(), storage::PeContainer::checkCreateConstraints(), storage::Disk::createChecks(), storage::Disk::detectPartitions(), storage::Container::doCreate(), storage::Container::doRemove(), storage::Container::doResize(), storage::MdPartCo::findMdMap(), storage::PeContainer::findPe(), storage::EtcFstab::flush(), storage::Storage::getDfSize(), storage::LoopCo::getLoopData(), storage::MdPartCo::getMdProps(), storage::Disk::getSysfsInfo(), storage::DmPartCo::init(), storage::Md::Md(), storage::CastIterator< Iter, CastResult >::operator++(), storage::CastCheckFncIterator< Iter, FncP, CastResult >::operator++(), storage::CastCheckIterator< Iter, Value, CastResult >::operator++(), storage::ListListIterator< PIter, Iter >::operator++(), storage::FilterIterator< storage::CheckType< Value >, Iter >::operator++(), storage::DerefIterator< Iter, Value >::operator++(), storage::CastIterator< Iter, CastResult >::operator--(), storage::CastCheckFncIterator< Iter, FncP, CastResult >::operator--(), storage::CastCheckIterator< Iter, Value, CastResult >::operator--(), storage::ListListIterator< PIter, Iter >::operator--(), storage::FilterIterator< storage::CheckType< Value >, Iter >::operator--(), storage::DerefIterator< Iter, Value >::operator--(), storage::MdPartCo::readProp(), storage::MdPartCo::removeMdPart(), storage::Storage::removeMdPartCo(), storage::Storage::removeUsing(), and storage::Container::removeVolume().
| #define y2warning | ( | format, | |||
| ... | ) | logMsgVaArgs(storage::WARNING, __FILE__, __LINE__, __FUNCTION__, format, ##__VA_ARGS__) |
Referenced by storage::MdCo::addMd(), storage::PeContainer::checkConsistency(), storage::Dm::checkConsistency(), storage::Dasd::checkFdasdOutput(), storage::MdCo::checkMd(), storage::MdPartCo::doRemove(), storage::MdCo::getMdData(), storage::Dm::getTableInfo(), storage::LvmVg::getVgData(), storage::Storage::removeDmMapsTo(), storage::Container::setExtError(), and storage::Storage::updateDmEmptyPeMap().
1.5.6