hmm_dma_unmap_pfn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hmm_dma_unmap_pfn(9) β€” Kernel API Manual vibes πŸ’…

okay so bestie, welcome to the Kernel API Manual page for hmm_dma_unmap_pfn(9). It's giving "small function, very specific job," and honestly? We respect it. 🫢


✨ NAME ✨

hmm_dma_unmap_pfn β€” Unmap a physical HMM page from DMA address. No cap, that's the whole name-and-purpose situation. πŸŽ€

✨ SYNOPSIS ✨

bool hmm_dma_unmap_pfn (struct device *dev , struct hmm_dma_map *map ,
size_t idx );

✨ ARGUMENTS ✨

  • dev β€” the device you're unmapping the page from. That's its whole deal here. πŸ’»
  • map β€” the HMM map. Yes bestie, the map. πŸ—ΊοΈ
  • idx β€” the index of the PFN to unmap. Very "point me at the exact one" energy. πŸ‘‘

✨ DESCRIPTION ✨

So here's the tea: it returns true if the PFN was mapped and has been unmapped, and false otherwise. That's it. That's the function. Iconic, lowkey. πŸ’–

✨ SEE ALSO ✨

Kernel file ./mm/hmm.c, plus the whole reference friend group:


mwah πŸ’‹ β€” with love from ./mm, October 2026, on hmm_dma_unmap_pfn(9) ✨ that's the cute little footer sign-off, bestie 🫢

πŸ“¦ where this page comes from