Lines Matching refs:efct
12 struct efct *efct; member
21 efct_io_pool_create(struct efct *efct, u32 num_sgl) in efct_io_pool_create() argument
32 io_pool->efct = efct; in efct_io_pool_create()
49 io->rspbuf.virt = dma_alloc_coherent(&efct->pci->dev, in efct_io_pool_create()
53 efc_log_err(efct, "dma_alloc rspbuf failed\n"); in efct_io_pool_create()
79 struct efct *efct; in efct_io_pool_free() local
84 efct = io_pool->efct; in efct_io_pool_free()
92 dma_free_coherent(&efct->pci->dev, in efct_io_pool_free()
99 efct->xport->io_pool = NULL; in efct_io_pool_free()
109 struct efct *efct; in efct_io_pool_io_alloc() local
112 efct = io_pool->efct; in efct_io_pool_io_alloc()
131 io->efct = efct; in efct_io_pool_io_alloc()
141 atomic_add_return(1, &efct->xport->io_active_count); in efct_io_pool_io_alloc()
142 atomic_add_return(1, &efct->xport->io_total_alloc); in efct_io_pool_io_alloc()
150 struct efct *efct; in efct_io_pool_io_free() local
154 efct = io_pool->efct; in efct_io_pool_io_free()
165 efct_hw_io_free(&efct->hw, hio); in efct_io_pool_io_free()
167 atomic_sub_return(1, &efct->xport->io_active_count); in efct_io_pool_io_free()
168 atomic_add_return(1, &efct->xport->io_total_free); in efct_io_pool_io_free()
173 efct_io_find_tgt_io(struct efct *efct, struct efct_node *node, in efct_io_find_tgt_io() argument