RTEMS
5.1
|
Block Device Disk Management API. More...
Go to the source code of this file.
Data Structures | |
struct | rtems_blkdev_read_ahead |
Block device read-ahead control. More... | |
struct | rtems_blkdev_stats |
Block device statistics. More... | |
struct | rtems_disk_device |
Description of a disk device (logical and physical disks). More... | |
Macros | |
#define | RTEMS_DISK_READ_AHEAD_NO_TRIGGER ((rtems_blkdev_bnum) -1) |
Trigger value to disable further read-ahead requests. | |
Typedefs | |
typedef struct rtems_disk_device | rtems_disk_device |
typedef uint32_t | rtems_blkdev_bnum |
Block device block index type. | |
typedef int(* | rtems_block_device_ioctl) (rtems_disk_device *dd, uint32_t req, void *argp) |
Block device IO control handler type. | |
Functions | |
RTEMS_DEPRECATED rtems_disk_device * | rtems_disk_next (dev_t dev) |
rtems_status_code | rtems_disk_init_phys (rtems_disk_device *dd, uint32_t block_size, rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data) |
rtems_status_code | rtems_disk_init_log (rtems_disk_device *dd, rtems_disk_device *phys_dd, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count) |
Disk Device Data | |
Disk Device Maintainance | |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_create_phys (dev_t dev, uint32_t block_size, rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name) |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_create_log (dev_t dev, dev_t phys, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count, const char *name) |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_delete (dev_t dev) |
RTEMS_DEPRECATED rtems_disk_device * | rtems_disk_obtain (dev_t dev) |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_release (rtems_disk_device *dd) |
Disk Management | |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_io_initialize (void) |
RTEMS_DEPRECATED rtems_status_code | rtems_disk_io_done (void) |
Block Device Disk Management API.