Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/elx/efct/
Defct_io.c24 struct efct_io_pool *io_pool; in efct_io_pool_create() local
28 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()
33 INIT_LIST_HEAD(&io_pool->freelist); in efct_io_pool_create()
35 spin_lock_init(&io_pool->lock); 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()
54 efct_io_pool_free(io_pool); in efct_io_pool_create()
61 efct_io_pool_free(io_pool); in efct_io_pool_create()
[all …]
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);
Defct_xport.h130 struct efct_io_pool *io_pool; member
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()
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()
/linux-6.1.9/drivers/md/
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()
1376 ret = mempool_init(&ppl_conf->io_pool, conf->raid_disks, ppl_io_pool_alloc, in ppl_init_log()
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()
3111 ret = mempool_init_slab_pool(&log->io_pool, R5L_POOL_SIZE, log->io_kc); in r5l_init_log()
3113 goto io_pool; in r5l_init_log()
3157 mempool_exit(&log->io_pool); in r5l_init_log()
3158 io_pool: in r5l_init_log()
3178 mempool_exit(&log->io_pool); in r5l_exit_log()