70 uint32_t media_block_size;
71 rtems_sparse_disk_delete_handler delete_handler;
98 const char *device_file_name,
99 uint32_t media_block_size,
136 const char *device_file_name,
138 uint32_t media_block_size,
141 uint8_t fill_pattern,
142 rtems_sparse_disk_delete_handler sparse_disk_delete
Block Device Disk Management API.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
uint32_t rtems_blkdev_bnum
Block device block index type.
Definition: diskdevs.h:45
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.
Definition: sparse-disk.c:320
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.
Definition: sparse-disk.c:350
void rtems_sparse_disk_free(rtems_sparse_disk *sparse_disk)
Frees a sparse disk.
Definition: sparse-disk.c:315
This header file defines the RTEMS Classic API.
Definition: sparse-disk.h:57
Definition: sparse-disk.h:66
This header file provides the API of Self-Contained Objects.