Lines Matching defs:bio_ptr
209 static bool blk_crypto_split_bio_if_needed(struct bio **bio_ptr)
211 struct bio *bio = *bio_ptr;
232 *bio_ptr = split_bio;
255 * and replace *bio_ptr with the bounce bio. May split input bio if it's too
259 static bool blk_crypto_fallback_encrypt_bio(struct bio **bio_ptr)
275 if (!blk_crypto_split_bio_if_needed(bio_ptr))
278 src_bio = *bio_ptr;
348 *bio_ptr = enc_bio;
469 * @bio_ptr: pointer to the bio to prepare
473 * for the first part, encrypts it, and update bio_ptr to point to the bounce
486 bool blk_crypto_fallback_bio_prep(struct bio **bio_ptr)
488 struct bio *bio = *bio_ptr;
505 return blk_crypto_fallback_encrypt_bio(bio_ptr);