Searched refs:ctx_pool (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/crypto/cavium/nitrox/ |
| H A D | nitrox_lib.c | 194 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 D | nitrox_dev.h | 253 struct dma_pool *ctx_pool; member
|
| /linux/drivers/crypto/intel/ixp4xx/ |
| H A D | ixp4xx_crypto.c | 228 static struct dma_pool *ctx_pool; variable 417 dma_pool_free(ctx_pool, crypt->regist_ptr, in one_packet() 545 ctx_pool = dma_pool_create("context", dev, NPE_CTX_LEN, 16, 0); in init_ixp_crypto() 546 if (!ctx_pool) in init_ixp_crypto() 569 dma_pool_destroy(ctx_pool); in init_ixp_crypto() 584 dma_pool_destroy(ctx_pool); in release_ixp_crypto() 603 dir->npe_ctx = dma_pool_alloc(ctx_pool, GFP_KERNEL, &dir->npe_ctx_phys); in init_sa_dir() 614 dma_pool_free(ctx_pool, dir->npe_ctx, dir->npe_ctx_phys); in free_sa_dir() 695 pad = dma_pool_alloc(ctx_pool, GFP_KERNEL, &pad_phys); in register_chain_var() 700 dma_pool_free(ctx_pool, pad, pad_phys); in register_chain_var() [all …]
|
| /linux/drivers/md/ |
| H A D | raid5.h | 693 mempool_t *ctx_pool; member
|
| H A D | raid5.c | 6129 ctx = mempool_alloc(conf->ctx_pool, GFP_NOIO); in raid5_make_request() 6153 mempool_free(ctx, conf->ctx_pool); in raid5_make_request() 6218 mempool_free(ctx, conf->ctx_pool); in raid5_make_request() 7389 mempool_destroy(conf->ctx_pool); in free_conf() 7754 conf->ctx_pool = mempool_create_kmalloc_pool(NR_RAID_BIOS, in raid5_create_ctx_pool() 7757 return conf->ctx_pool ? 0 : -ENOMEM; in raid5_create_ctx_pool()
|