Home
last modified time | relevance | path

Searched refs:io_pool (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/sys/dev/ocs_fc/
H A Docs_io.c110 io_pool = ocs_malloc(ocs, sizeof(*io_pool), OCS_M_ZERO | OCS_M_NOWAIT); in ocs_io_pool_create()
111 if (io_pool == NULL) { in ocs_io_pool_create()
116 io_pool->ocs = ocs; in ocs_io_pool_create()
178 return io_pool; in ocs_io_pool_create()
198 if (io_pool != NULL) { in ocs_io_pool_free()
199 ocs = io_pool->ocs; in ocs_io_pool_free()
219 ocs_free(ocs, io_pool, sizeof(*io_pool)); in ocs_io_pool_free()
247 ocs = io_pool->ocs; in ocs_io_pool_io_alloc()
289 ocs_assert(io_pool); in ocs_io_pool_io_free()
291 ocs = io_pool->ocs; in ocs_io_pool_io_free()
[all …]
H A Docs_io.h188 extern int32_t ocs_io_pool_free(ocs_io_pool_t *io_pool);
189 extern uint32_t ocs_io_pool_allocated(ocs_io_pool_t *io_pool);
191 extern ocs_io_t *ocs_io_pool_io_alloc(ocs_io_pool_t *io_pool);
192 extern void ocs_io_pool_io_free(ocs_io_pool_t *io_pool, ocs_io_t *io);
H A Docs_drv_fc.h60 ocs_io_pool_t *io_pool; /**< pointer to IO pool */ member
189 return ocs_io_pool_io_alloc(ocs->xport->io_pool); in ocs_io_alloc()
195 ocs_io_pool_io_free(ocs->xport->io_pool, io); in ocs_io_free()
H A Docs.h276 return ocs_io_pool_io_alloc(ocs->xport->io_pool); in ocs_io_alloc()
282 ocs_io_pool_io_free(ocs->xport->io_pool, io); in ocs_io_free()
H A Docs_xport.c266 xport->io_pool = ocs_io_pool_create(ocs, ocs->num_scsi_ios, in ocs_xport_attach()
268 if (xport->io_pool == NULL) { in ocs_xport_attach()
288 ocs_io_pool_free(xport->io_pool); in ocs_xport_attach()
1094 ocs_io_pool_free(xport->io_pool); in ocs_xport_free()
H A Docs_xport.h176 ocs_io_pool_t *io_pool; /**< pointer to IO pool */ member
H A Docs_scsi.c2759 return ocs_io_pool_allocated(xport->io_pool); in ocs_scsi_get_property()