iio_gts_pur..._scale_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iio_gts_purge_avail_scale_table(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one lives in ./drivers/iio and it's literally the cleanup queen of the IIO gain-time-scale world. she frees things. that's her whole vibe. πŸŽ€


✨ NAME ✨

iio_gts_purge_avail_scale_table β€” free-up the available scale tables πŸ§ΉπŸ’–

like, she takes out the trash (the trash being memory, and the trash can being your kernel) and honestly? iconic behavior.


🌸 SYNOPSIS 🌸

void iio_gts_purge_avail_scale_table (struct iio_gts *gts );

no return value, no drama, no notes. she just does the thing and dips. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gts β€” Gain time scale descriptor 🫢 β€” this is the lil struct that's holding onto all the scale-table memory, and she's about to set it free.

⭐ DESCRIPTION ⭐

Free the space reserved by iio_gts_build_avail_scale_table.

that's it. that's the whole paragraph. she's the inverse of iio_gts_build_avail_scale_table β€” you built it, now you gotta purge it, otherwise that's a leak and leaks are not the moment. 😭

lowkey a reminder that every iio_gts_build_avail_scale_table call needs its matching purge. balanced. like all things should be. βš–οΈβœ¨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/iio/industrialio-gts-helper.c β€” go read it, it's giving main character energy πŸ‘‘

and the whole friend group, no cap:


kay that's the whole page bestie, go free that memory and slay πŸ’œβœ¨

shoutout to the source ./drivers/iio, dated October 2026 β€” that's the version stamp and the date, both accounted for, periodt πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from