NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lvm.cc File Reference

Classes

class  Lvm
class  Lvm::Xlated< T >
struct  Lvm::label_header
struct  Lvm::disk_locn
struct  Lvm::pv_header
struct  Lvm::raw_locn
struct  Lvm::mda_header
struct  Lvm::List< T >
class  Lvm::ListWithCount< T >
class  Lvm::Uuid
struct  Lvm::PV
 Physical volume. More...
struct  Lvm::PV::Area

Macros

#define LABEL_ID   "LABELONE"
#define LVM2_LABEL   "LVM2 001"
#define FMTT_MAGIC   "\040\114\126\115\062\040\170\133\065\101\045\162\060\116\052\076"
#define skip_if(cond, msg,...)   if (cond) { Logging::printf(msg " on disk %d - skiping\n", ##__VA_ARGS__, disknum); return false; }
#define skip_if(cond, msg,...)   if (cond) { Logging::printf(msg " on disk %d at offset %llu - skiping\n", ##__VA_ARGS__, pv->disknum, mda->offset); continue; }

Enumerations

enum  { IGNORED = 0x00000001 }

Functions

 Xlated (T val)
val () const
bool check_crc ()
 raw_locn ()
bool is_ignored ()

Variables

_val
int8 id [8]
Xlated< uint64sector
Xlated< uint32crc
Xlated< uint32offset
int8 type [8]
Xlated< uint64size
int8 pv_uuid [ID_LEN]
Xlated< uint64device_size
struct disk_locn disk_areas [0]
Xlated< uint32checksum
uint32 flags
int8 magic [16]
Xlated< uint32version
Xlated< uint64start
struct raw_locn raw_locns [0]

Macro Definition Documentation

#define FMTT_MAGIC   "\040\114\126\115\062\040\170\133\065\101\045\162\060\116\052\076"
#define LABEL_ID   "LABELONE"
#define LVM2_LABEL   "LVM2 001"
#define skip_if (   cond,
  msg,
  ... 
)    if (cond) { Logging::printf(msg " on disk %d - skiping\n", ##__VA_ARGS__, disknum); return false; }
#define skip_if (   cond,
  msg,
  ... 
)    if (cond) { Logging::printf(msg " on disk %d at offset %llu - skiping\n", ##__VA_ARGS__, pv->disknum, mda->offset); continue; }

Enumeration Type Documentation

anonymous enum
Enumerator:
IGNORED 

Function Documentation

bool __attribute__::check_crc ( )
bool __attribute__::is_ignored ( )
__attribute__::raw_locn ( )
T __attribute__::val ( ) const
__attribute__::Xlated ( val)

Variable Documentation

T _val
Xlated<uint32> checksum
Xlated<uint32> crc
Xlated<uint64> device_size
struct disk_locn disk_areas[0]
uint32 flags
int8 id[8]
int8 magic[16]
Xlated< uint64 > offset
int8 pv_uuid[ID_LEN]
struct raw_locn raw_locns[0]
Xlated<uint64> sector
Xlated< uint64 > size
Xlated<uint64> start
int8 type[8]
Xlated<uint32> version