Inheritance diagram for Ramdisk:
Collaboration diagram for Ramdisk:Public Member Functions | |
| Ramdisk (void *buf, size_t size) | |
| Block | fix (uint64_t block_number) |
| void | unfix (Block *block) |
| int | sync () |
| int | sync (Block *block) |
Public Member Functions inherited from BlockDevice | |
| bool | set_blocksize (unsigned int blocksize) |
| template<typename T > | |
| T | divide_by_blocksize (T val) const |
| template<typename T > | |
| T | modulo_blocksize (T val) const |
Additional Inherited Members | |
Public Attributes inherited from BlockDevice | |
| unsigned int | blocksize |
| unsigned int | blocksize_bits |