gnttab_dma_free_pages(9)
β¨ gnttab_dma_free_pages(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's short and sweet and honestly kind of a vibe. it's giving "cleanup era." π
πΈ NAME πΈ
gnttab_dma_free_pages β free DMAable pages π¦
literally what it says on the tin: this is the function that hands back the DMA-able pages you grabbed earlier. release them, queen. π
β SYNOPSIS β
int gnttab_dma_free_pages (struct gnttab_dma_alloc_args *args );
yup, that's the whole signature. it takes one pointer and returns an int. no cap. β¨
π ARGUMENTS π
argsβ the arguments to the function π«Ά like, that's the whole deal. you pass in the argument struct and the function does its thing with it. iykyk.
β οΈ heads up bestie: this page in the manual is literally just a stub. no return-value details, no extra flags, nothing. don't come for me, i'm only telling you what's in here. π
π¦ SEE ALSO π¦
- the kernel file
./drivers/xen/grant-table.cβ that's where the whole grant-table situation lives, main character file fr fr π₯ gnttab_alloc_pages(9)β the grabby one πgnttab_free_pages(9)β the other free-y one πgnttab_dma_alloc_pages(9)β the DMA alloc that pairs with this one, iconic duo honestly π
and that's the whole page, bestie π not me writing a whole manpage for four lines of content, but slay, we ate. π§
signed, sealed, delivered from ./drivers/xen β October 2026 β gnttab_dma_free_pages(9) πβ¨π
π¦ 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