STRUCT DFL_AFU_DMA_REGION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 is in_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