StuBS
Block Class Reference
Collaboration diagram for Block:
[legend]

Public Member Functions

 Block (BlockDevice *bdev, uint64_t block_number)
 
void mark_dirty ()
 
bool is_dirty () const
 
void clear_dirty ()
 
unsigned int get_size () const
 
void sync ()
 
void unfix ()
 
void forget ()
 

Public Attributes

uint64_t block_number
 
void * data
 
BlockDevicebdev
 
int flags
 

Static Public Attributes

static const int DIRTY_FLAG = 0x1
 

The documentation for this class was generated from the following file: