STRUCT DFL_AFU_DMA_REGION(9)
π struct dfl_afu_dma_region(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is literally the page for struct dfl_afu_dma_region, no cap π«Ά
πΈ NAME πΈ
struct dfl_afu_dma_region β the afu DMA region data structure, and yes it's as iconic as it sounds π
π¦ SYNOPSIS π¦
struct dfl_afu_dma_region {
u64 user_addr;
u64 length;
u64 iova;
struct page **pages;
struct rb_node node;
bool in_use;
};
likeβ¦ look at her. main character struct energy fr fr π
π Members π
okay so let's meet the cast, one field at a time π
user_addrβ the region's userspace virtual address. that's the address the user side sees, bestie π«Άlengthβ how long the region is. the region length. periodt β¨iovaβ the region's IO virtual address. yep, IO virtual address, that's the vibe πpagesβ a ptr to the pages of this region. literally a pointer, pointing at pages, doing pointer things π§nodeβ the rb tree node. she's a node in an rb tree, that's her whole job πΈin_useβ a flag to indicate if this region isin_use. flag check time, bestie π
β SEE ALSO β
go look at these too, no cap π β the Kernel file ./drivers/fpga/dfl-afu.h, plus struct dfl_afu_mmio_region(9) and struct dfl_afu(9) π
lowkey a reminder that this page lives under ./drivers/fpga in the kernel, so that's where you go if you wanna snoop π΅οΈββοΈ
okay bye bestie, love u, go read the source π
π that's the whole page π β from ./drivers/fpga, dated October 2026, out of the Kernel API Manual, and yeah, this is struct dfl_afu_dma_region(9) signing off πβ¨
π¦ 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