#include <Dm.h>
Inheritance diagram for storage::Dm:

Public Member Functions | |
| Dm (const PeContainer &d, const string &tn) | |
| Dm (const PeContainer &d, const string &tn, unsigned mnum) | |
| Dm (const PeContainer &d, const Dm &d) | |
| Dm & | operator= (const Dm &) |
| virtual | ~Dm () |
| const string & | getTableName () const |
| const string & | getTargetName () const |
| void | setTableName (const string &name) |
| bool | inactive () const |
| unsigned long long | getLe () const |
| void | setLe (unsigned long long le) |
| void | modifyPeSize (unsigned long long old, unsigned long long neww) |
| bool | removeTable () |
| void | calcSize () |
| const std::map< string, unsigned long > & | getPeMap () const |
| void | setPeMap (const std::map< string, unsigned long > &m) |
| unsigned long long | usingPe (const string &dev) const |
| bool | mapsTo (const string &dev) const |
| void | getTableInfo () |
| virtual bool | checkConsistency () const |
| unsigned | stripes () const |
| unsigned long long | stripeSize () const |
| void | setStripeSize (unsigned long long val) |
| string | sysfsPath () const |
| void | updateMajorMinor () |
| virtual void | print (std::ostream &s) const |
| virtual string | removeText (bool doing) const |
| virtual string | formatText (bool doing) const |
| void | getInfo (storage::DmInfo &info) const |
| bool | equalContent (const Dm &rhs) const |
| void | logDifference (const Dm &d) const |
| string | stringDifference (const Dm &d) const |
Static Public Member Functions | |
| static bool | notDeleted (const Dm &l) |
| static void | activate (bool val=true) |
| static string | devToTable (const string &dev) |
| static string | dmName (const string &table) |
| static int | dmNumber (const string &table) |
| static unsigned | dmMajor () |
Protected Member Functions | |
| void | init () |
| const PeContainer *const | pec () const |
| virtual const string | shortPrintedName () const |
| string | getDevice (const string &majmin) |
Static Protected Member Functions | |
| static void | getDmMajor () |
Protected Attributes | |
| string | tname |
| string | target |
| unsigned long long | num_le |
| unsigned | stripe |
| unsigned long long | stripe_size |
| bool | inactiv |
| std::map< string, unsigned long > | pe_map |
| storage::DmInfo | info |
Static Protected Attributes | |
| static bool | active |
| static unsigned | dm_major |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const Dm &p) |
| Dm::Dm | ( | const PeContainer & | d, | |
| const string & | tn | |||
| ) |
| Dm::Dm | ( | const PeContainer & | d, | |
| const string & | tn, | |||
| unsigned | mnum | |||
| ) |
| Dm::Dm | ( | const PeContainer & | d, | |
| const Dm & | d | |||
| ) |
| Dm::~Dm | ( | ) | [virtual] |
| const string& storage::Dm::getTableName | ( | ) | const [inline] |
| const string& storage::Dm::getTargetName | ( | ) | const [inline] |
| void storage::Dm::setTableName | ( | const string & | name | ) | [inline] |
| bool storage::Dm::inactive | ( | ) | const [inline] |
| unsigned long long storage::Dm::getLe | ( | ) | const [inline] |
| void Dm::setLe | ( | unsigned long long | le | ) |
| void Dm::modifyPeSize | ( | unsigned long long | old, | |
| unsigned long long | neww | |||
| ) |
| bool Dm::removeTable | ( | ) |
| void Dm::calcSize | ( | ) |
| const std::map<string,unsigned long>& storage::Dm::getPeMap | ( | ) | const [inline] |
| void storage::Dm::setPeMap | ( | const std::map< string, unsigned long > & | m | ) | [inline] |
| unsigned long long Dm::usingPe | ( | const string & | dev | ) | const |
| bool Dm::mapsTo | ( | const string & | dev | ) | const |
| void Dm::getTableInfo | ( | ) |
| bool Dm::checkConsistency | ( | ) | const [virtual] |
| unsigned storage::Dm::stripes | ( | ) | const [inline] |
| unsigned long long storage::Dm::stripeSize | ( | ) | const [inline] |
| void storage::Dm::setStripeSize | ( | unsigned long long | val | ) | [inline] |
| string Dm::sysfsPath | ( | ) | const [virtual] |
Reimplemented from storage::Volume.
| void Dm::updateMajorMinor | ( | ) |
| virtual void storage::Dm::print | ( | std::ostream & | s | ) | const [inline, virtual] |
Reimplemented from storage::Volume.
Reimplemented in storage::DmPart, storage::Dmraid, storage::Evms, and storage::LvmLv.
| string Dm::removeText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
Reimplemented in storage::Dmraid, storage::Evms, and storage::LvmLv.
| string Dm::formatText | ( | bool | doing | ) | const [virtual] |
Reimplemented from storage::Volume.
Reimplemented in storage::Dmraid, storage::Evms, and storage::LvmLv.
| void Dm::getInfo | ( | storage::DmInfo & | info | ) | const |
| static bool storage::Dm::notDeleted | ( | const Dm & | l | ) | [inline, static] |
| void Dm::activate | ( | bool | val = true |
) | [static] |
| string Dm::devToTable | ( | const string & | dev | ) | [static] |
| string Dm::dmName | ( | const string & | table | ) | [static] |
| int Dm::dmNumber | ( | const string & | table | ) | [static] |
| bool Dm::equalContent | ( | const Dm & | rhs | ) | const |
| void Dm::logDifference | ( | const Dm & | d | ) | const |
| string Dm::stringDifference | ( | const Dm & | d | ) | const |
| unsigned Dm::dmMajor | ( | ) | [static] |
| void Dm::init | ( | ) | [protected] |
Reimplemented from storage::Volume.
| const PeContainer *const Dm::pec | ( | ) | const [protected] |
| virtual const string storage::Dm::shortPrintedName | ( | ) | const [inline, protected, virtual] |
Reimplemented in storage::DmPart, storage::Dmraid, storage::Evms, and storage::LvmLv.
| string Dm::getDevice | ( | const string & | majmin | ) | [protected] |
| void Dm::getDmMajor | ( | ) | [static, protected] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const Dm & | p | |||
| ) | [friend] |
string storage::Dm::tname [protected] |
string storage::Dm::target [protected] |
unsigned long long storage::Dm::num_le [protected] |
unsigned storage::Dm::stripe [protected] |
unsigned long long storage::Dm::stripe_size [protected] |
bool storage::Dm::inactiv [protected] |
std::map<string,unsigned long> storage::Dm::pe_map [protected] |
bool Dm::active [static, protected] |
unsigned Dm::dm_major [static, protected] |
storage::DmInfo storage::Dm::info [mutable, protected] |
Reimplemented from storage::Volume.
Reimplemented in storage::DmPart, storage::Evms, and storage::LvmLv.
1.5.0