Searched refs:ctx_pool (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/crypto/cavium/nitrox/ |
D | nitrox_lib.c | 125 ndev->ctx_pool = dma_pool_create("crypto-context", in create_crypto_dma_pool() 127 if (!ndev->ctx_pool) in create_crypto_dma_pool() 135 if (!ndev->ctx_pool) in destroy_crypto_dma_pool() 138 dma_pool_destroy(ndev->ctx_pool); in destroy_crypto_dma_pool() 139 ndev->ctx_pool = NULL; in destroy_crypto_dma_pool() 152 vaddr = dma_pool_alloc(ndev->ctx_pool, (GFP_KERNEL | __GFP_ZERO), &dma); in crypto_alloc_context() 158 ctx->pool = ndev->ctx_pool; in crypto_alloc_context()
|
D | nitrox_dev.h | 140 struct dma_pool *ctx_pool; member
|
/Linux-v4.19/drivers/crypto/ |
D | ixp4xx_crypto.c | 223 static struct dma_pool *ctx_pool = NULL; variable 396 dma_pool_free(ctx_pool, crypt->regist_ptr, in one_packet() 486 ctx_pool = dma_pool_create("context", dev, in init_ixp_crypto() 488 if (!ctx_pool) { in init_ixp_crypto() 511 dma_pool_destroy(ctx_pool); in init_ixp_crypto() 526 dma_pool_destroy(ctx_pool); in release_ixp_crypto() 547 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir() 558 dma_pool_free(ctx_pool, dir->npe_ctx, dir->npe_ctx_phys); in free_sa_dir() 612 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var() 617 dma_pool_free(ctx_pool, pad, pad_phys); in register_chain_var() [all …]
|