iio_gts_purge_avail_tables(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iio_gts_purge_avail_tables ✨

okay so bestie, welcome to the iio_gts_purge_avail_tables(9) page from the Kernel API Manual πŸŽ€ β€” yes it's a whole kernel function and yes it's about cleaning up after yourself, which is very main character of it ngl.


🌸 NAME 🌸

iio_gts_purge_avail_tables β€” literally free-up the availability tables 🧹✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void iio_gts_purge_avail_tables(struct iio_gts *gts);

πŸ’– ARGUMENTS πŸ’–

  • gts β€” the Gain time scale descriptor πŸ‘‘ that's the struct you're handing over, no cap.

✨ DESCRIPTION ✨

So here's the vibe check: this function frees the space that was reserved by iio_gts_build_avail_tables. 🫢

And not me doing the MOST β€” it frees both the integration time table and the scale table. Two tables, one call, ate and left no crumbs πŸ’€πŸ“ So like, whatever iio_gts_build_avail_tables built, this one purges. Iconic symmetry, periodt.


🌈 SEE ALSO 🌈

The kernel file is ./drivers/iio/industrialio-gts-helper.c πŸ“ and honestly the whole friend group is here, iykyk:


πŸ’œ reminder bestie: this is the cleanup crew. If you built those tables with iio_gts_build_avail_tables, you will be calling this. Free your memory, bestie. Slay responsibly. 🧚

and that's the whole page, mwah πŸ’‹ β€” from ./drivers/iio, dated October 2026, brought to you by the Kernel API Manual πŸŽ€β­πŸ’…

πŸ“¦ where this page comes from