#include <fcntl.h>#include <sys/mount.h>#include <linux/hdreg.h>#include <iostream>#include <string>#include <sstream>#include <iomanip>#include <boost/algorithm/string.hpp>#include "y2storage/Region.h"#include "y2storage/Partition.h"#include "y2storage/ProcPart.h"#include "y2storage/Disk.h"#include "y2storage/Storage.h"#include "y2storage/AsciiFile.h"#include "y2storage/AppUtil.h"#include "y2storage/SystemCmd.h"#include "y2storage/StorageDefines.h"Namespaces | |
| namespace | storage |
Defines | |
| #define | TB (1024ULL * 1024ULL * 1024ULL) |
| #define | PB (1024ULL * 1024ULL * 1024ULL * 1024ULL) |
Functions | |
| static bool | notDeletedPri (const Partition &p) |
| static bool | notDeletedExt (const Partition &p) |
| static bool | notDeletedLog (const Partition &p) |
| static bool | notDeletedNotLog (const Partition &p) |
| static bool | existingNotLog (const Partition &p) |
| static bool | existingLog (const Partition &p) |
| static bool | notCreatedPrimary (const Partition &p) |
| static bool | regions_sort_size (const Region &rhs, const Region &lhs) |
| static bool | volume_ptr_sort_nr (Partition *&rhs, Partition *&lhs) |
| static bool | logicalCreated (const Partition &p) |
| std::ostream & | storage::operator<< (std::ostream &s, const Disk &d) |
| #define PB (1024ULL * 1024ULL * 1024ULL * 1024ULL) |
| #define TB (1024ULL * 1024ULL * 1024ULL) |
Referenced by storage::Disk::defaultLabel().
| static bool existingLog | ( | const Partition & | p | ) | [static] |
References storage::Volume::created(), storage::Volume::deleted(), storage::LOGICAL, and storage::Partition::type().
Referenced by storage::Disk::doCreate().
| static bool existingNotLog | ( | const Partition & | p | ) | [static] |
References storage::Volume::created(), storage::Volume::deleted(), storage::LOGICAL, and storage::Partition::type().
Referenced by storage::Disk::doCreate().
| static bool logicalCreated | ( | const Partition & | p | ) | [static] |
References storage::Volume::created(), storage::LOGICAL, and storage::Partition::type().
Referenced by storage::Disk::doCreate().
| static bool notCreatedPrimary | ( | const Partition & | p | ) | [static] |
References storage::Volume::created(), storage::PRIMARY, and storage::Partition::type().
Referenced by storage::Disk::doRemove().
| static bool notDeletedExt | ( | const Partition & | p | ) | [static] |
References storage::Volume::deleted(), storage::EXTENDED, and storage::Partition::type().
Referenced by storage::Disk::changePartitionArea(), storage::Disk::createChecks(), storage::Disk::doCreate(), storage::Disk::doResize(), storage::Disk::freeCylindersAfterPartition(), storage::Disk::getUnusedSpace(), and storage::Disk::hasExtended().
| static bool notDeletedLog | ( | const Partition & | p | ) | [static] |
| static bool notDeletedNotLog | ( | const Partition & | p | ) | [static] |
References storage::Volume::deleted(), storage::LOGICAL, and storage::Partition::type().
Referenced by storage::Disk::getUnusedSpace().
| static bool notDeletedPri | ( | const Partition & | p | ) | [static] |
References storage::Volume::deleted(), storage::PRIMARY, and storage::Partition::type().
Referenced by storage::Disk::numPrimary().
References storage::Region::len().
1.5.6