dma_port_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 your struct tb_dma_port *, the one you're releasing)

πŸ’€ SEE ALSO πŸ’€

the kernel file ./drivers/thunderbolt/dma_port.c, plus these absolute main characters:

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