iommu_fill_pdir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– iommu_fill_pdir(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” today’s main character is iommu_fill_pdir(9), and she is ready to spill πŸ’…βœ¨

✨ NAME ✨

iommu_fill_pdir β€” Insert coalesced scatter/gather chunks into the I/O Pdir. periodt πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here’s the exact signature β€” copy it character for character, pls and thank you 🫢

unsigned int iommu_fill_pdir (struct ioc *ioc , struct scatterlist *startsg , int nents , unsigned long hint , void (*iommu_io_pdir_entry)(__le64 *, space_t, phys_addr_t, unsigned long) );

🌸 ARGUMENTS 🌸

  • ioc β€” The I/O Controller. yes, that one πŸ‘‘
  • startsg β€” The scatter/gather list of coalesced chunks. iconic list energy ✨
  • nents β€” The number of entries in the scatter/gather list. count ’em πŸ”’
  • hint β€” The DMA Hint. just a hint, bestie πŸ’…
  • iommu_io_pdir_entry β€” the manpage literally says -- undescribed -- πŸ˜­πŸ™ˆ so that’s all we’re getting; no cap.

πŸ’– DESCRIPTION πŸ’–

okay so here’s the tea: this function inserts the coalesced scatter/gather list chunks into the I/O Controller’s I/O Pdir. that’s it, that’s the function β€” lowkey straightforward, highkey important πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/parisc/iommu-helpers.h β€” go read the source, bestie, it’s giving required reading πŸ“šβœ¨

mwah πŸ’‹ β€” source/version: ./drivers/parisc, dated October 2026. that’s the cute sign-off, bestie 🫢🌈

πŸ“¦ where this page comes from