fscrypt_free_bounce_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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, or NULL. that's it, that's the argument. pass the page you wanna yeet back into the void, or pass NULL and 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 from fscrypt_encrypt_pagecache_blocks β€” don't be out here freeing pages from other places and calling it a day. NULL is fine though, that's the one exception the page explicitly blesses. πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

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