Home
last modified time | relevance | path

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

/linux/block/
H A Dblk-crypto-fallback.c144 static void blk_crypto_fallback_encrypt_endio(struct bio *enc_bio) in blk_crypto_fallback_encrypt_endio() argument
146 struct bio *src_bio = enc_bio->bi_private; in blk_crypto_fallback_encrypt_endio()
147 struct page **pages = (struct page **)enc_bio->bi_io_vec; in blk_crypto_fallback_encrypt_endio()
155 bio_for_each_bvec_all(bv, enc_bio, i) in blk_crypto_fallback_encrypt_endio()
159 enc_bio->bi_vcnt); in blk_crypto_fallback_encrypt_endio()
160 if (i < enc_bio->bi_vcnt) in blk_crypto_fallback_encrypt_endio()
161 release_pages(pages + i, enc_bio->bi_vcnt - i); in blk_crypto_fallback_encrypt_endio()
163 if (enc_bio->bi_status) in blk_crypto_fallback_encrypt_endio()
164 cmpxchg(&src_bio->bi_status, 0, enc_bio->bi_status); in blk_crypto_fallback_encrypt_endio()
166 bio_put(enc_bio); in blk_crypto_fallback_encrypt_endio()
[all …]