knav_pool_desc_unmap(9)
β¨ 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:
- Kernel file
./drivers/soc/ti/knav_qmss_queue.c knav_queue_notify(9)knav_queue_open(9)knav_queue_close(9)knav_queue_device_control(9)knav_queue_push(9)knav_queue_pop(9)knav_pool_create(9)knav_pool_destroy(9)knav_pool_desc_get(9)knav_pool_desc_put(9)knav_pool_desc_map(9)knav_pool_count(9)
bestie reminder: this one's from./drivers/soc/ti, stampedOctober 2026, version 9 of the page. iconic era honestly π
mwah, go unmap those descriptors responsibly π§ββοΈ
π¦ 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