kblock.c File Reference
Go to the source code of this file.
Functions | |
| size_t | kblock_read (struct KBlock *b, block_idx_t idx, void *buf, size_t offset, size_t size) |
| Read data from the block device. | |
| int | kblock_flush (struct KBlock *b) |
| Flush the cache (if any) to the device. | |
| int | kblock_trim (struct KBlock *b, block_idx_t start, block_idx_t count) |
| Use a subset of the blocks on the device. | |
| size_t | kblock_write (struct KBlock *b, block_idx_t idx, const void *buf, size_t offset, size_t size) |
| Write data to the block device. | |
| int | kblock_copy (struct KBlock *b, block_idx_t src, block_idx_t dest) |
| Copy one block to another. | |
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)