Home
last modified time | relevance | path

Searched refs:ctx_pool (Results 1 – 4 of 4) sorted by relevance

/linux/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.h253 struct dma_pool *ctx_pool; member
/linux/drivers/md/
H A Draid5.h695 mempool_t *ctx_pool;
694 mempool_t *ctx_pool; global() member
H A Draid5.c6304 ctx = mempool_alloc(conf->ctx_pool, GFP_NOIO); in raid5_make_request()
6384 mempool_free(ctx, conf->ctx_pool); in reshape_request()
7591 mempool_destroy(conf->ctx_pool); in raid5_alloc_percpu()
7963 conf->ctx_pool = mempool_create_kmalloc_pool(NR_RAID_BIOS, in raid5_set_limits()
7966 return conf->ctx_pool ? 0 : -ENOMEM; in raid5_set_limits()