![]() |
RTEMS 6.1
|
Sparse disk block device API. More...
#include <stddef.h>#include <stdint.h>#include <rtems.h>#include <rtems/diskdevs.h>#include <rtems/thread.h>Go to the source code of this file.
Data Structures | |
| struct | rtems_sparse_disk_key |
| struct | rtems_sparse_disk |
Typedefs | |
| typedef struct rtems_sparse_disk | rtems_sparse_disk |
| typedef void(* | rtems_sparse_disk_delete_handler) (rtems_sparse_disk *sparse_disk) |
Functions | |
| rtems_status_code | rtems_sparse_disk_create_and_register (const char *device_file_name, uint32_t media_block_size, rtems_blkdev_bnum blocks_with_buffer, rtems_blkdev_bnum media_block_count, uint8_t fill_pattern) |
| Creates and registers a sparse disk. | |
| void | rtems_sparse_disk_free (rtems_sparse_disk *sparse_disk) |
| Frees a sparse disk. | |
| rtems_status_code | rtems_sparse_disk_register (const char *device_file_name, rtems_sparse_disk *sparse_disk, uint32_t media_block_size, rtems_blkdev_bnum blocks_with_buffer, rtems_blkdev_bnum media_block_count, uint8_t fill_pattern, rtems_sparse_disk_delete_handler sparse_disk_delete) |
| Initializes and registers a sparse disk. | |
Sparse disk block device API.