StuBS
BlockDevice Class Referenceabstract
Inheritance diagram for BlockDevice:
[legend]

Public Member Functions

virtual Block fix (uint64_t block_number)=0
 
virtual void unfix (Block *block)=0
 
virtual int sync (Block *block)=0
 
virtual int sync ()=0
 
bool set_blocksize (unsigned int blocksize)
 
template<typename T >
divide_by_blocksize (T val) const
 
template<typename T >
modulo_blocksize (T val) const
 

Public Attributes

unsigned int blocksize
 
unsigned int blocksize_bits
 

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