Home
last modified time | relevance | path

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

/block/
Dblk-crypto.c52 static mempool_t *bio_crypt_ctx_pool; variable
62 bio_crypt_ctx_pool = mempool_create_slab_pool(num_prealloc_crypt_ctxs, in bio_crypt_ctx_init()
64 if (!bio_crypt_ctx_pool) in bio_crypt_ctx_init()
93 bc = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in bio_crypt_set_ctx()
104 mempool_free(bio->bi_crypt_context, bio_crypt_ctx_pool); in __bio_crypt_free_ctx()
110 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
239 mempool_free(rq->crypt_ctx, bio_crypt_ctx_pool); in __blk_crypto_free_request()
300 rq->crypt_ctx = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __blk_crypto_rq_bio_prep()