dma_port_free(9)
π dma_port_free(9) β Kernel API Manual
okay so bestie, welcome to the little corner of the kernel docs that deals with Thunderbolt DMA control ports β¨ this one is short but she's iconic, so let's get into it π«Ά
πΈ NAME πΈ
dma_port_free β Release DMA control port structure π
like, you allocated one of these bad boys, and now you're done with it, so you're letting it go. very "it's not you it's me" of you, honestly π
β¨ SYNOPSIS β¨
void dma_port_free (struct tb_dma_port *dma );
that's it. one argument, returns nothing (void), does the thing. no cap π
π¦ ARGUMENTS π¦
dmaβ the DMA control port π (this is yourstruct tb_dma_port *, the one you're releasing)
π SEE ALSO π
the kernel file ./drivers/thunderbolt/dma_port.c, plus these absolute main characters:
struct tb_dma_port(9)dma_port_alloc(9)dma_port_flash_read(9)dma_port_flash_write(9)dma_port_flash_update_auth(9)dma_port_flash_update_auth_status(9)dma_port_power_cycle(9)
iykyk β if you're freeing a port you almost definitely met dma_port_alloc(9) first, so go say hi π
fr fr though: if you were hoping for flags, options, return values, or exit statuses on this oneβ¦ there are literally none in the docs. she's a one-liner queen. don't go inventing parameters, bestie π
mwah π that's the whole page β courtesy of the ./drivers/thunderbolt directory, dated October 2026, and shouting out the Kernel API Manual it lives in π slay π¦π
π¦ 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