Go to the source code of this file.
◆ rtio_work_submit_t
Callback API to execute work operation.
- Parameters
-
iodev_sqe | Associated SQE operation. |
◆ rtio_work_req_alloc()
Allocate item to perform an RTIO work request.
This allocation utilizes its internal memory slab with pre-allocated elements.
- Returns
- Pointer to allocated item if successful.
-
NULL if allocation failed.
◆ rtio_work_req_submit()
Submit RTIO work request.
- Parameters
-
req | Item to fill with request information. |
iodev_sqe | RTIO Operation information. |
handler | Callback to handler where work operation is performed. |
◆ rtio_work_req_used_count_get()
uint32_t rtio_work_req_used_count_get |
( |
void | | ) |
|
Obtain number of currently used items from the pre-allocated pool.
- Returns
- Number of used items.