Home
last modified time | relevance | path

Searched refs:ctx_pool (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c194 ndev->ctx_pool = dma_pool_create("nitrox-context", in create_crypto_dma_pool()
196 if (!ndev->ctx_pool) in create_crypto_dma_pool()
204 if (!ndev->ctx_pool) in destroy_crypto_dma_pool()
207 dma_pool_destroy(ndev->ctx_pool); in destroy_crypto_dma_pool()
208 ndev->ctx_pool = NULL; in destroy_crypto_dma_pool()
226 vaddr = dma_pool_zalloc(ndev->ctx_pool, GFP_KERNEL, &dma); in crypto_alloc_context()
234 ctx->pool = ndev->ctx_pool; in crypto_alloc_context()
238 chdr->pool = ndev->ctx_pool; in crypto_alloc_context()
H A Dnitrox_dev.h226 * @ctx_pool: DMA pool for crypto context
253 struct dma_pool *ctx_pool; member
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A Dnitrox_lib.c194 ndev->ctx_pool = dma_pool_create("nitrox-context", in create_crypto_dma_pool()
196 if (!ndev->ctx_pool) in create_crypto_dma_pool()
204 if (!ndev->ctx_pool) in destroy_crypto_dma_pool()
207 dma_pool_destroy(ndev->ctx_pool); in destroy_crypto_dma_pool()
208 ndev->ctx_pool = NULL; in destroy_crypto_dma_pool()
226 vaddr = dma_pool_zalloc(ndev->ctx_pool, GFP_KERNEL, &dma); in crypto_alloc_context()
234 ctx->pool = ndev->ctx_pool; in crypto_alloc_context()
238 chdr->pool = ndev->ctx_pool; in crypto_alloc_context()
H A Dnitrox_dev.h226 * @ctx_pool: DMA pool for crypto context
253 struct dma_pool *ctx_pool; member
/kernel/linux/linux-5.10/drivers/crypto/
H A Dixp4xx_crypto.c222 static struct dma_pool *ctx_pool = NULL; variable
410 dma_pool_free(ctx_pool, crypt->regist_ptr, in one_packet()
500 ctx_pool = dma_pool_create("context", dev, in init_ixp_crypto()
502 if (!ctx_pool) { in init_ixp_crypto()
525 dma_pool_destroy(ctx_pool); in init_ixp_crypto()
540 dma_pool_destroy(ctx_pool); in release_ixp_crypto()
561 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir()
572 dma_pool_free(ctx_pool, dir->npe_ctx, dir->npe_ctx_phys); in free_sa_dir()
631 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var()
636 dma_pool_free(ctx_pool, pa in register_chain_var()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c228 static struct dma_pool *ctx_pool; variable
417 dma_pool_free(ctx_pool, crypt->regist_ptr, in one_packet()
542 ctx_pool = dma_pool_create("context", dev, NPE_CTX_LEN, 16, 0); in init_ixp_crypto()
543 if (!ctx_pool) in init_ixp_crypto()
566 dma_pool_destroy(ctx_pool); in init_ixp_crypto()
581 dma_pool_destroy(ctx_pool); in release_ixp_crypto()
600 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir()
611 dma_pool_free(ctx_pool, dir->npe_ctx, dir->npe_ctx_phys); in free_sa_dir()
692 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var()
697 dma_pool_free(ctx_pool, pa in register_chain_var()
[all...]

Completed in 5 milliseconds