Lines Matching refs:buffer_pool
228 static struct dma_pool *buffer_pool; variable
342 dma_pool_free(buffer_pool, buf, phys); in free_buf_chain()
362 dma_pool_free(buffer_pool, req_ctx->hmac_virt, crypt->icv_rev_aes); in finish_scattered_hmac()
418 dma_pool_free(buffer_pool, crypt->regist_buf, crypt->src_buf); in one_packet()
535 buffer_pool = dma_pool_create("buffer", dev, sizeof(struct buffer_desc), in init_ixp_crypto()
538 if (!buffer_pool) in init_ixp_crypto()
566 dma_pool_destroy(buffer_pool); in init_ixp_crypto()
581 dma_pool_destroy(buffer_pool); in release_ixp_crypto()
694 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var()
702 dma_pool_free(buffer_pool, buf, buf_phys); in register_chain_var()
881 next_buf = dma_pool_alloc(buffer_pool, flags, &next_buf_phys); in chainup_buffers()
1175 req_ctx->hmac_virt = dma_pool_alloc(buffer_pool, flags, in aead_perform()