hmm_dma_unmap_pfn(9)
π
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:
hmm_range_fault(9)hmm_range_fault_unlocked_timeout(9)hmm_dma_map_alloc(9)hmm_dma_map_free(9)hmm_dma_map_pfn(9)
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
- 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