Lines Matching defs:f_ctx
375 struct bio_fallback_crypt_ctx *f_ctx =
377 struct bio *bio = f_ctx->bio;
378 struct bio_crypt_ctx *bc = &f_ctx->crypt_ctx;
413 __bio_for_each_segment(bv, bio, iter, f_ctx->crypt_iter) {
435 mempool_free(f_ctx, bio_fallback_crypt_ctx_pool);
449 struct bio_fallback_crypt_ctx *f_ctx = bio->bi_private;
451 bio->bi_private = f_ctx->bi_private_orig;
452 bio->bi_end_io = f_ctx->bi_end_io_orig;
456 mempool_free(f_ctx, bio_fallback_crypt_ctx_pool);
461 INIT_WORK(&f_ctx->work, blk_crypto_fallback_decrypt_bio);
462 f_ctx->bio = bio;
463 queue_work(blk_crypto_wq, &f_ctx->work);
490 struct bio_fallback_crypt_ctx *f_ctx;
508 * bio READ case: Set up a f_ctx in the bio's bi_private and set the
511 f_ctx = mempool_alloc(bio_fallback_crypt_ctx_pool, GFP_NOIO);
512 f_ctx->crypt_ctx = *bc;
513 f_ctx->crypt_iter = bio->bi_iter;
514 f_ctx->bi_private_orig = bio->bi_private;
515 f_ctx->bi_end_io_orig = bio->bi_end_io;
516 bio->bi_private = (void *)f_ctx;