__swiotlb_find_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to __swiotlb_find_pool(9) from the Kernel API Manual ✨. This function is literally here to find the IO TLB pool for a physical address. no cap πŸ’….

🌸 SYNOPSIS 🌸

struct io_tlb_pool * __swiotlb_find_pool (struct device *dev ,
phys_addr_t paddr );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device which has mapped the DMA buffer πŸ‘‘.
  • paddr β€” the physical address within the DMA buffer πŸ“.

πŸ¦‹ DESCRIPTION πŸ¦‹

So the vibe is: find the IO TLB memory pool descriptor which contains the given physical address, if any πŸ”. That's it, that's the quest.

🚨 caveat, bestie: this function is for use only when the dev is known to be using swiotlb. Use swiotlb_find_pool for the more general case when this condition is not met. iykyk πŸ’€.

πŸ’… RETURN πŸ’…

Memory pool which contains paddr, or NULL if none 😭.

🌈 SEE ALSO 🌈

bestie, go peek at these if you're feeling curious 🧚:


mwah πŸ’‹ β€” source/version check: ./kernel/dma, date: October 2026, and yes it's literally the __swiotlb_find_pool(9) page 🫢.

πŸ“¦ where this page comes from