blk_crypto_...ecrypt_endio(9)
π blk_crypto_...ecrypt_endio(9) β Kernel API Manual π
okay so bestie, we're in the Kernel API Manual today and this page is literally about one tiny function that does a very specific little job. no cap, it's short, but it's important, so let's get into it π
β¨ NAME β¨
blk_crypto_fallback_decrypt_endio β the one that queues a bio for fallback decryption π¦
πΈ SYNOPSIS πΈ
void blk_crypto_fallback_decrypt_endio (struct bio *bio );
that's it. that's the whole signature. she's lowkey minimal and we respect it π
π ARGUMENTS π
bioβ the bio we're queueing. that's the whole vibe. she's the main character here π
π DESCRIPTION π
okay so picture this: we gotta restore bi_private and bi_end_io, and then queue the bio for decryption into a workqueue.
and why are we doing the queue thing instead of just, like, doing it right there? because β and this is the important part, don't skip it β this function will be called from an atomic context π so you literally cannot just go off and do the decryption inline. that's not the move. into the workqueue it goes, periodt β¨
fr fr, the atomic-context thing is the whole reason this function exists. respect the constraint or the kernel will simply not have a good time π
π¦ SEE ALSO π¦
- Kernel file
./block/blk-crypto-fallback.cβ the whole source, go read her π blk_crypto_fallback_bio_prep(9)β the sibling function, iykyk π«Ά
and that's the page bestie!! π§ from ./block (that's the source, mwah) and dated October 2026 β stay caffeinated, stay cryptographically safe, and remember: atomic context means no blocking, no exceptions ππ
βπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms