sgl_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sgl_free(9) β€” like, the Kernel API Manual girlie explains it πŸ’–

okay so bestie, welcome to <pink>sgl_free</pink> from the Kernel API Manual β€” this is the page for sgl_free(9) and it is exactly what it says on the tin, no cap.


✨ NAME ✨

<hotpink>sgl_free</hotpink> β€” frees a scatterlist and all its pages. both. together. the whole friend group goes home. 🫢


🌸 SYNOPSIS 🌸

void sgl_free (struct scatterlist *sgl );

that's it. that's the whole signature. void return, one pointer in. simple. iconic. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • sgl β€” the scatterlist you're yeeting, and it has one or more elements in it. one is fine, more is fine, just like… don't hand it an empty one, m'kay? ✨

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is the part where the manpage shows you the entire extended universe, and honestly it's giving main character energy with how many siblings there are. all of these live over in the kernel file ./lib/scatterlist.c:

like, look at them all. a whole little scatterlist family. πŸ§šβ€β™€οΈπŸ’œ

lowkey a vibe check before you call this: you're freeing the scatterlist and its pages, so if anybody else is still holding onto those pages, that's a you problem and it will not be cute. πŸ™ˆ

⭐ and that's the page, bestie! this one came from the <lavender>./lib</lavender> corner of the source tree, dated October 2026, and it's filed under sgl_free(9) β€” go forth and free responsibly πŸ’–πŸŒˆβœ¨

πŸ“¦ where this page comes from