Lines Matching defs:bio_ptr
210 static bool blk_crypto_fallback_split_bio_if_needed(struct bio **bio_ptr)
212 struct bio *bio = *bio_ptr;
234 *bio_ptr = split_bio;
257 * and replace *bio_ptr with the bounce bio. May split input bio if it's too
261 static bool blk_crypto_fallback_encrypt_bio(struct bio **bio_ptr)
277 if (!blk_crypto_fallback_split_bio_if_needed(bio_ptr))
280 src_bio = *bio_ptr;
351 *bio_ptr = enc_bio;
473 * @bio_ptr: pointer to the bio to prepare
477 * bounce bio for the first part, encrypts it, and updates bio_ptr to point to
490 bool blk_crypto_fallback_bio_prep(struct bio **bio_ptr)
492 struct bio *bio = *bio_ptr;
509 return blk_crypto_fallback_encrypt_bio(bio_ptr);