RTEMS 6.1-rc6
|
Sparse disk block device implementation. More...
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <rtems.h>
#include <rtems/blkdev.h>
#include <rtems/fatal.h>
#include "rtems/sparse-disk.h"
Functions | |
void | rtems_sparse_disk_free (rtems_sparse_disk *sd) |
Frees a sparse disk. | |
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. | |
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 implementation.