Go to the source code of this file.
OCS linux driver IO declarations
Definition in file ocs_io.h.
Data Structures | |
| struct | ocs_io_t |
Macros | |
| #define | io_error_log(io, fmt,...) |
Functions | |
| static int32_t | ocs_io_busy (ocs_io_t *io) |
| Test if IO object is busy. More... | |
| ocs_io_pool_t * | ocs_io_pool_create (ocs_t *ocs, uint32_t num_io, uint32_t num_sgl) |
| Create a pool of IO objects. More... | |
| int32_t | ocs_io_pool_free (ocs_io_pool_t *io_pool) |
| Free IO objects pool. More... | |
| uint32_t | ocs_io_pool_allocated (ocs_io_pool_t *io_pool) |
| ocs_io_t * | ocs_io_get_instance (ocs_t *ocs, uint32_t instance_idx) |
| return pointer to IO object given instance index More... | |
| ocs_io_t * | ocs_io_pool_io_alloc (ocs_io_pool_t *io_pool) |
| Allocate an object used to track an IO. More... | |
| void | ocs_io_pool_io_free (ocs_io_pool_t *io_pool, ocs_io_t *io) |
| Free an object used to track an IO. More... | |
| ocs_io_t * | ocs_io_find (ocs_t *ocs, ocs_node_t *node, uint32_t ox_id) |
| void | ocs_ddump_io (ocs_textbuf_t *textbuf, ocs_io_t *io) |
| generate IO context ddump data More... | |
| #define io_error_log | ( | io, | |
| fmt, | |||
| ... | |||
| ) |
| void ocs_ddump_io | ( | ocs_textbuf_t * | textbuf, |
| ocs_io_t * | io | ||
| ) |
|
inlinestatic |
| ocs_io_t* ocs_io_find | ( | ocs_t * | ocs, |
| ocs_node_t * | node, | ||
| uint32_t | ox_id | ||
| ) |
| ocs_io_pool_t* ocs_io_pool_create | ( | ocs_t * | ocs, |
| uint32_t | num_io, | ||
| uint32_t | num_sgl | ||
| ) |