Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_io.c28 io_pool = kzalloc(sizeof(*io_pool), GFP_KERNEL); in efct_io_pool_create()
29 if (!io_pool) in efct_io_pool_create()
32 io_pool->efct = efct; in efct_io_pool_create()
42 io_pool->io_num_ios++; in efct_io_pool_create()
43 io_pool->ios[i] = io; in efct_io_pool_create()
72 return io_pool; in efct_io_pool_create()
82 if (io_pool) { in efct_io_pool_free()
83 efct = io_pool->efct; in efct_io_pool_free()
97 kfree(io_pool); in efct_io_pool_free()
111 efct = io_pool->efct; in efct_io_pool_io_alloc()
[all …]
H A Defct_io.h163 efct_io_pool_free(struct efct_io_pool *io_pool);
165 efct_io_pool_allocated(struct efct_io_pool *io_pool);
168 efct_io_pool_io_alloc(struct efct_io_pool *io_pool);
170 efct_io_pool_io_free(struct efct_io_pool *io_pool, struct efct_io *io);
H A Defct_xport.h130 struct efct_io_pool *io_pool; member
H A Defct_scsi.c41 io = efct_io_pool_io_alloc(efct->xport->io_pool); in efct_scsi_io_alloc()
95 efct_io_pool_io_free(efct->xport->io_pool, io); in _efct_scsi_io_free()
1090 efct_io_pool_io_free(efct->xport->io_pool, io); in efct_target_abort_cb()
1119 abort_io = efct_io_pool_io_alloc(efct->xport->io_pool); in efct_scsi_tgt_abort_io()
H A Defct_xport.c94 xport->io_pool = efct_io_pool_create(efct, efct->hw.config.n_sgl); in efct_xport_attach()
95 if (!xport->io_pool) { in efct_xport_attach()
641 efct_io_pool_free(xport->io_pool); in efct_xport_free()
/openbmc/linux/drivers/md/
H A Draid5-ppl.c100 mempool_t io_pool; member
240 io = mempool_alloc(&ppl_conf->io_pool, GFP_NOWAIT); in ppl_new_iounit()
562 mempool_free(io, &ppl_conf->io_pool); in ppl_io_unit_finished()
1239 mempool_exit(&ppl_conf->io_pool); in __ppl_exit_log()
1373 ret = mempool_init(&ppl_conf->io_pool, conf->raid_disks, ppl_io_pool_alloc, in ppl_init_log()
H A Draid5-cache.c119 mempool_t io_pool; member
769 io = mempool_alloc(&log->io_pool, GFP_ATOMIC); in r5l_new_meta()
1212 mempool_free(io, &log->io_pool); in r5l_complete_finished_ios()
3110 ret = mempool_init_slab_pool(&log->io_pool, R5L_POOL_SIZE, log->io_kc); in r5l_init_log()
3112 goto io_pool; in r5l_init_log()
3158 mempool_exit(&log->io_pool); in r5l_init_log()
3159 io_pool: in r5l_init_log()
3182 mempool_exit(&log->io_pool); in r5l_exit_log()