
Public Member Functions | |
| DeviceGraph (StorageInterface *s) | |
Private Member Functions | |
| void | processUsedby (const Node &node, const list< UsedByInfo > &usedBy) |
| void | processMount (const Node &node, const VolumeInfo &volume) |
Private Attributes | |
| Rank | disks_rank |
| Rank | partitions_rank |
| Rank | mounts_rank |
| storage::DeviceGraph::DeviceGraph | ( | StorageInterface * | s | ) |
References storage::BTRFSC, storage::CUNKNOWN, storage::DmPartCoInfo::d, storage::MdPartCoInfo::d, storage::DISK, disks_rank, storage::DM, storage::DMMULTIPATH, storage::DMRAID, storage::Graph::EDGE_SUBDEVICE, storage::Graph::edges, storage::EXTENDED, storage::StorageInterface::getBtrfsInfo(), storage::StorageInterface::getContainers(), storage::StorageInterface::getDiskInfo(), storage::StorageInterface::getDmInfo(), storage::StorageInterface::getDmmultipathCoInfo(), storage::StorageInterface::getDmmultipathInfo(), storage::StorageInterface::getDmraidCoInfo(), storage::StorageInterface::getDmraidInfo(), storage::StorageInterface::getLvmLvInfo(), storage::StorageInterface::getLvmVgInfo(), storage::StorageInterface::getMdInfo(), storage::StorageInterface::getMdPartCoInfo(), storage::StorageInterface::getMdPartInfo(), storage::StorageInterface::getPartitionInfo(), storage::Graph::Node::id(), storage::Graph::Rank::ids, storage::LOOP, storage::LVM, storage::MD, storage::MDPART, mounts_rank, storage::NFSC, storage::Graph::NODE_BTRFS, storage::Graph::NODE_DISK, storage::Graph::NODE_DM, storage::Graph::NODE_DMMULTIPATH, storage::Graph::NODE_DMRAID, storage::Graph::NODE_LVMLV, storage::Graph::NODE_LVMVG, storage::Graph::NODE_MD, storage::Graph::NODE_MDPART, storage::Graph::NODE_PARTITION, storage::Graph::nodes, storage::DmmultipathCoInfo::p, storage::DmraidCoInfo::p, partitions_rank, processMount(), processUsedby(), storage::Graph::ranks, storage::LvmVgInfo::sizeK, storage::DiskInfo::sizeK, and storage::TMPFSC.
| void storage::DeviceGraph::processUsedby | ( | const Node & | node, | |
| const list< UsedByInfo > & | usedBy | |||
| ) | [private] |
References storage::Graph::EDGE_USED, storage::Graph::edges, and storage::Graph::Node::id().
Referenced by DeviceGraph().
| void storage::DeviceGraph::processMount | ( | const Node & | node, | |
| const VolumeInfo & | volume | |||
| ) | [private] |
References storage::VolumeInfo::device, storage::Graph::EDGE_MOUNT, storage::Graph::edges, storage::Graph::Node::id(), storage::Graph::Rank::ids, storage::VolumeInfo::mount, mounts_rank, storage::Graph::NODE_MOUNTPOINT, storage::Graph::nodes, and storage::VolumeInfo::sizeK.
Referenced by DeviceGraph().
Rank storage::DeviceGraph::disks_rank [private] |
Referenced by DeviceGraph().
Rank storage::DeviceGraph::partitions_rank [private] |
Referenced by DeviceGraph().
Rank storage::DeviceGraph::mounts_rank [private] |
Referenced by DeviceGraph(), and processMount().
1.5.6