knav_pool_desc_unmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ knav_pool_desc_unmap ✨

okay so bestie, this is a kernel function from the Kernel API Manual, and honestly? it's giving "cleanup crew" energy. Let me put you on: knav_pool_desc_unmap is literally the Unmap descriptor after DMA transfer moment. Like, the transfer's done, the vibe check is passed, now we gotta unmap that descriptor. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void * knav_pool_desc_unmap (void *ph , dma_addr_t dma , unsigned dma_sz );

🌸 ARGUMENTS 🌸

  • ph β€” the pool handle, aka your main character pass to the pool. you know her, you love her 🫢
  • dma β€” the DMA address of the descriptor you're tryna unmap. literally the address, no cap πŸ“
  • dma_sz β€” the size of the descriptor to unmap. gotta know how big it is bestie, that's just facts πŸ”₯

πŸ’– RETURN πŸ’–

on success it returns the descriptor address. slay! but ngl, don't just assume it's all good β€” use IS_ERR_OR_NULL to identify error values on return. like, please check before you trust it, i'm begging 😭✨


πŸ‘‘ SEE ALSO πŸ‘‘

knav queue and pool lore, for when you're deep in the rabbit hole and honestly obsessed:


bestie reminder: this one's from ./drivers/soc/ti, stamped October 2026, version 9 of the page. iconic era honestly πŸ’œ

mwah, go unmap those descriptors responsibly πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from