Lines Matching defs:f_ctx
378 struct bio_fallback_crypt_ctx *f_ctx =
380 struct bio *bio = f_ctx->bio;
381 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx;
417 __bio_for_each_segment(bv, bio, iter, f_ctx->crypt_iter) {
439 mempool_free(f_ctx, bio_fallback_crypt_ctx_pool);
453 struct bio_fallback_crypt_ctx *f_ctx = bio->bi_private;
455 bio->bi_private = f_ctx->bi_private_orig;
456 bio->bi_end_io = f_ctx->bi_end_io_orig;
460 mempool_free(f_ctx, bio_fallback_crypt_ctx_pool);
465 INIT_WORK(&f_ctx->work, blk_crypto_fallback_decrypt_bio);
466 f_ctx->bio = bio;
467 queue_work(blk_crypto_wq, &f_ctx->work);
494 struct bio_fallback_crypt_ctx *f_ctx;
512 * bio READ case: Set up a f_ctx in the bio's bi_private and set the
515 f_ctx = mempool_alloc(bio_fallback_crypt_ctx_pool, GFP_NOIO);
516 f_ctx->crypt_ctx = *bc;
517 f_ctx->crypt_iter = bio->bi_iter;
518 f_ctx->bi_private_orig = bio->bi_private;
519 f_ctx->bi_end_io_orig = bio->bi_end_io;
520 bio->bi_private = (void *)f_ctx;