libie_cp_unmap_dma_mem(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ libie_cp_unmap_dma_mem(9) πŸ¦‹

Okay bestie, welcome to the Kernel API Manual β€” yes, that manual, the one for people who live in drivers/ at 2am and think that's a personality trait (it is, and it's iconic). This page is all about libie_cp_unmap_dma_mem, and no cap, it's the cleanup queen of the libie controlq saga. Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

libie_cp_unmap_dma_mem β€” unmaps a DMA address that you (or someone) already mapped earlier. That's it, that's the whole gig. The un-mapper. The "we're so done here" button. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void libie_cp_unmap_dma_mem (struct device *dev , const struct libie_cp_dma_mem *dma_mem );

Yup, that's the whole signature β€” she takes two things and returns literally nothing (void), because she's a doer, not a reporter. 🫢


🌸 ARGUMENTS 🌸

Two arguments, both important, neither optional, let's go:

  • dev β€” device information. Like, the actual device you're dealing with β€” she needs to know whose DMA mapping we're undoing. Main character energy, obviously. πŸ‘‘
  • dma_mem β€” DMA memory information. This is the memory struct itself, and yes it's a const struct libie_cp_dma_mem *, meaning we're looking, not touching. Respect the const. πŸ™ˆ

🌈 SEE ALSO 🌈

Bestie, this list is long and honestly kind of iconic β€” it's the whole libie controlq friend group. Every single one of them, in order, coming through:

Like, go read some of those fr fr β€” especially her bestie libie_cp_map_dma_mem(9), because every unmap needs a map, iykyk. πŸ”₯

Also quick vibe check: notice __libie_ctlq_xn_push_free(9) has two underscores and libie_ctlq_xn_push_free(9) has none. They are different functions. Do not @ me. Do not merge them. πŸ’€

That's the whole page, babe β€” she's short, she's sweet, she unmaps DMA memory. ✨

This little gem lives in the Kernel API Manual, last touched in October 2026, and the source line got cut off at ./drivers/net/ethernet/intel/l... β€” so you know it's a deep path, and you know she's been sitting there being useful the whole time. Stay slay, stay mapped (until you're not), mwah πŸ’–πŸŽ€πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from