Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-crypto.c61 static mempool_t *bio_crypt_ctx_pool; variable
71 bio_crypt_ctx_pool = mempool_create_slab_pool(num_prealloc_crypt_ctxs, in bio_crypt_ctx_init()
73 if (!bio_crypt_ctx_pool) in bio_crypt_ctx_init()
102 bc = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in bio_crypt_set_ctx()
112 mempool_free(bio->bi_crypt_context, bio_crypt_ctx_pool); in __bio_crypt_free_ctx()
118 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
247 mempool_free(rq->crypt_ctx, bio_crypt_ctx_pool); in __blk_crypto_free_request()
307 rq->crypt_ctx = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __blk_crypto_rq_bio_prep()