Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/ocs_fc/
H A Docs_io.c108 io_pool = ocs_malloc(ocs, sizeof(*io_pool), OCS_M_ZERO | OCS_M_NOWAIT); in ocs_io_pool_create()
109 if (io_pool == NULL) { in ocs_io_pool_create()
114 io_pool->ocs = ocs; in ocs_io_pool_create()
176 return io_pool; in ocs_io_pool_create()
196 if (io_pool != NULL) { in ocs_io_pool_free()
197 ocs = io_pool->ocs; in ocs_io_pool_free()
217 ocs_free(ocs, io_pool, sizeof(*io_pool)); in ocs_io_pool_free()
245 ocs = io_pool->ocs; in ocs_io_pool_io_alloc()
287 ocs_assert(io_pool); in ocs_io_pool_io_free()
289 ocs = io_pool->ocs; in ocs_io_pool_io_free()
[all …]
H A Docs_io.h185 extern int32_t ocs_io_pool_free(ocs_io_pool_t *io_pool);
186 extern uint32_t ocs_io_pool_allocated(ocs_io_pool_t *io_pool);
188 extern ocs_io_t *ocs_io_pool_io_alloc(ocs_io_pool_t *io_pool);
189 extern void ocs_io_pool_io_free(ocs_io_pool_t *io_pool, ocs_io_t *io);
H A Docs_drv_fc.h56 ocs_io_pool_t *io_pool; /**< pointer to IO pool */ member
185 return ocs_io_pool_io_alloc(ocs->xport->io_pool); in ocs_io_alloc()
191 ocs_io_pool_io_free(ocs->xport->io_pool, io); in ocs_io_free()
H A Docs.h267 return ocs_io_pool_io_alloc(ocs->xport->io_pool); in ocs_io_alloc()
273 ocs_io_pool_io_free(ocs->xport->io_pool, io); in ocs_io_free()
H A Docs_xport.c263 xport->io_pool = ocs_io_pool_create(ocs, ocs->num_scsi_ios, in ocs_xport_attach()
265 if (xport->io_pool == NULL) { in ocs_xport_attach()
284 ocs_io_pool_free(xport->io_pool); in ocs_xport_attach()
1120 ocs_io_pool_free(xport->io_pool); in ocs_xport_free()
H A Docs_xport.h174 ocs_io_pool_t *io_pool; /**< pointer to IO pool */ member
H A Docs_scsi.c2754 return ocs_io_pool_allocated(xport->io_pool); in ocs_scsi_get_property()