devcd_free_sgtable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

devcd_free_sgtable β€” okay so this one frees, like, all the memory of the scatterlist table you hand it (i.e. both the pages and the scatterlist instances) ✨ no crumbs left, we love a thorough queen πŸŽ€


🌸 SYNOPSIS 🌸

void devcd_free_sgtable (void *data );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” pointer to the sg_table you want to free 🫢 literally just hand it over, bestie

πŸ’… NOTE πŸ’…

okay so listen closely because this is the part where people mess up πŸ™ˆ if two tables were allocated with devcd_alloc_sgtable and then chained using the sg_chain function, then that function should be called only once on the chained table. once. one time. that's it. not twice, not "just to be safe" β€” once πŸ’€


⭐ SEE ALSO ⭐

go read the source, iykyk πŸ”₯πŸ‘‘


and that's the whole vibe πŸ’œπŸ¦‹πŸŒΈ this little icon lives in ./drivers/base, brought to you by the October 2026 release β€” mwah, devcd_free_sgtable(9) out πŸ’…βœ¨

πŸ“¦ where this page comes from