fscrypt_free_bounce_page(9)
π fscrypt_free_bounce_page(9) π
okay so bestie, welcome to the Kernel API Manual β yes, the real one, no cap. this page is about fscrypt_free_bounce_page, and it's short, sweet, and honestly iconic for it. β¨
β¨ NAME β¨
fscrypt_free_bounce_page β free a ciphertext bounce page π
like, it frees the thing. the bounce page. the ciphertext one. that's the whole vibe.
πΈ SYNOPSIS πΈ
void fscrypt_free_bounce_page(struct page *bounce_page);
returns nothing (void), takes exactly one thing, does its little job. main character energy tbh.
π¦ ARGUMENTS π¦
bounce_pageβ the bounce page to free, orNULL. that's it, that's the argument. pass the page you wanna yeet back into the void, or passNULLand it's whatever. π«Ά
π DESCRIPTION π
so the way this works: you call fscrypt_free_bounce_page to free a bounce page, and that bounce page has to be one that was allocated by fscrypt_encrypt_pagecache_blocks. that's the whole contract. it's the designated cleanup bestie for that specific allocation, and it's not out here accepting random pages from the street. π
free your bounce pages properly and it's giving responsible kernel citizen. periodt. π
β οΈ lowkey important: the page you hand over is supposed to be one fromfscrypt_encrypt_pagecache_blocksβ don't be out here freeing pages from other places and calling it a day.NULLis fine though, that's the one exception the page explicitly blesses. π
π SEE ALSO π
- Kernel file
./fs/crypto/crypto.cβ that's where the magic lives, go read it, iykyk fscrypt_encrypt_pagecache_blocks(9)βfscrypt_encrypt_block_inplace(9)βfscrypt_decrypt_block_inplace(9)βfscrypt_initialize(9)β
like the whole fscrypt crypto friend group, fr fr. go say hi to all of them. π
and that's the page!! ty for reading, ily, go free your bounce pages responsibly π
source location: ./fs/crypto Β· dated October 2026 Β· this has been your kernel api manual moment, mwah πβ¨
π¦ 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