Home
last modified time | relevance | path

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

/linux-6.3-rc2/block/
A Dblk-crypto.c60 static mempool_t *bio_crypt_ctx_pool; variable
70 bio_crypt_ctx_pool = mempool_create_slab_pool(num_prealloc_crypt_ctxs, in bio_crypt_ctx_init()
72 if (!bio_crypt_ctx_pool) in bio_crypt_ctx_init()
101 bc = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in bio_crypt_set_ctx()
111 mempool_free(bio->bi_crypt_context, bio_crypt_ctx_pool); in __bio_crypt_free_ctx()
117 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
246 mempool_free(rq->crypt_ctx, bio_crypt_ctx_pool); in __blk_crypto_free_request()
306 rq->crypt_ctx = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __blk_crypto_rq_bio_prep()

Completed in 3 milliseconds