RTEMS
5.1
|
The block device transfer request is used to read or write a number of blocks from or to the device. More...
#include <blkdev.h>
Data Fields | |
rtems_blkdev_request_op | req |
rtems_blkdev_request_cb | done |
void * | done_arg |
rtems_status_code | status |
uint32_t | bufnum |
rtems_id | io_task |
rtems_blkdev_sg_buffer | bufs [RTEMS_ZERO_LENGTH_ARRAY] |
The block device transfer request is used to read or write a number of blocks from or to the device.
Transfer requests are issued to the disk device driver with the RTEMS_BLKIO_REQUEST IO control. The transfer request completion status must be signalled with rtems_blkdev_request_done(). This function must be called exactly once per request. The return value of the IO control will be ignored for transfer requests.
uint32_t rtems_blkdev_request::bufnum |
Number of blocks for this request.
rtems_blkdev_sg_buffer rtems_blkdev_request::bufs[RTEMS_ZERO_LENGTH_ARRAY] |
List of scatter or gather buffers.
rtems_blkdev_request_cb rtems_blkdev_request::done |
Request done callback function.
void* rtems_blkdev_request::done_arg |
Argument to be passed to callback function.
rtems_blkdev_request_op rtems_blkdev_request::req |
Block device operation (read or write).
rtems_status_code rtems_blkdev_request::status |
Last IO operation completion status.