iio_dmaengi...fer_teardown(9)
π iio_dmaengine_buffer_teardown β a Kernel API Manual moment π
okay so bestie, welcome to the Kernel API Manual β¨ the page header literally reads iio_dmaengi...fer_teardown(9) (yes girl, the terminal truncates it, that's just how it is π
) and we're about to get into it.
πΈ NAME πΈ
iio_dmaengine_buffer_teardown β releases the DMA channel and frees the buffer π
π¦ SYNOPSIS π¦
void iio_dmaengine_buffer_teardown (struct iio_buffer *buffer );
like, that's the whole signature, no cap. π
π ARGUMENTS π
bufferβ the buffer to free π«Ά this is the one getting cleaned up, bestie.
β¨ DESCRIPTION β¨
so what this icon actually does: it releases the DMA channel and then frees the buffer β specifically the buffer that was previously set up with iio_dmaengine_buffer_setup_ext. it's giving cleanup era, it's giving closure π
you set it up, now you tear it down, periodt.
lowkey the most main-character energy here is that it's the counterpart to the setup function β nothing more, nothing less. no surprises, just tidy-up behavior π₯
π§ SEE ALSO π§
- Kernel file
./drivers/iio/buffer/industrialio-buffer-dmaengine.cβ the literal source, go read it if you're nosy π iio_dmaengine_buffer_alloc(9)iio_dmaengine_buffer_free(9)iio_dmaengine_buffer_setup_ext(9)devm_iio_dmaengine_buffer_setup_ext(9)devm_iio_dmaengine_buffer_setup_with_handle(9)
the whole friend group, honestly π«Ά go say hi to all of them.
ngl if you're here it's because something needs freeing β don't skip it, that's not a vibe π
okay bye bestie, this page lives under ./drivers/iio/buffer and it's dated October 2026 β mwah ππ slay, stay allocated (until you're not) βπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms