iommu_pages_list_splice(9)
π iommu_pages_list_splice(9) π
okay bestie, welcome to the Kernel API Manual β yes we're reading kernel docs together, this is our bonding era π«Ά
β¨ NAME β¨
iommu_pages_list_splice β literally just: put all the pages in list from into list to. that's it. that's the whole thing. icon behaviour ngl π
πΈ SYNOPSIS πΈ
void iommu_pages_list_splice (struct iommu_pages_list *from , struct iommu_pages_list *to );
two lists, one function, zero return value. she's a void queen and she knows it π
π ARGUMENTS π
fromβ the source list of pages. this is the one getting emptied out, she's giving donor energy π©Έtoβ the destination list of pages. this is the one getting all the pages delivered straight to her. main character receiving gifts energy π
π¦ DESCRIPTION π¦
so here's the tea, and it's important tea: from must be re-initialized after calling this function if it is to be used again. β οΈ
like, not "should", not "maybe", must. she's been through something (the splice), and if you try to use her again without re-initializing first, that's on you, not on me. consider this your official warning do not skip the re-init π
π SEE ALSO π
- Kernel file
./drivers/iommu/iommu-pages.hβ go read the source, iykyk π struct ioptdesc(9)iommu_pages_list_add(9)iommu_pages_list_empty(9)iommu_alloc_pages_sz(9)
the whole friend group fr fr, go say hi to all of them π
and that's the page!! mwah π this lil beauty lives in the kernel file ./drivers/iommu, dated October 2026 β so go forth, splice responsibly, re-initialize your lists, and remember: no cap, the docs ate πΈβ¨π
π¦ 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