|
ginnOS
The reference: libc, the libraries and the kernel
|
block device abstraction for reading blocks from a storage device. More...
#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/drivers/disk/block_device.h>
Data Fields | |
| uint16_t | bytes_per_block |
| uint32_t | total_blocks |
| void * | context |
| BlockReadFn | read_blocks |
| BlockWriteFn | write_blocks |
| BlockFlushFn | flush |
| BlockTrimFn | trim |
block device abstraction for reading blocks from a storage device.
| uint16_t block_device::bytes_per_block |
| uint32_t block_device::total_blocks |
| void* block_device::context |
| BlockReadFn block_device::read_blocks |
| BlockWriteFn block_device::write_blocks |
| BlockFlushFn block_device::flush |
| BlockTrimFn block_device::trim |