netfs_folioq_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ netfs_folioq_free(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” section 9, kernel-space, the real deal πŸ’…. This one's netfs_folioq_free, and ngl it's a little baddie with one job: putting a folio_queue struct to rest πŸͺ¦βœ¨


πŸŽ€ NAME πŸŽ€

netfs_folioq_free β€” free a folio_queue struct πŸ¦‹


🌸 SYNOPSIS 🌸

void netfs_folioq_free (struct folio_queue *folioq , unsigned int trace
);

like yes that's the whole signature, she's not complicated πŸ’–


πŸ’« ARGUMENTS πŸ’«

  • folioq β€” the object to free 🫢. this is the folio_queue struct you're sending off into the void, so make sure it's actually the one you want gone, mwah.
  • trace β€” the trace tag that tells everyone which free this was πŸ”₯. it's an unsigned int, it's literally just for tracing, don't overthink her.

🧚 DESCRIPTION 🧚

frees the folio_queue struct and unaccounts it πŸ’€. that's the vibe: free + unaccount, both, together, periodt ✨.


πŸ‘‘ SEE ALSO πŸ‘‘

  • kernel file ./fs/netfs/rolling_buffer.c πŸ“
  • netfs_folioq_alloc(9) β€” the alloc counterpart, the origin story, the main character 🌈

lowkey a reminder that this is kernel-space business, so free responsibly bestie πŸŽ€πŸ’…

sign-off era: this lil page lives under ./fs/netfs, dated October 2026, and she ate, no cap πŸ“πŸ’œ 🧚✨

πŸ“¦ where this page comes from