afu_dma_region_add(9)
π afu_dma_region_add(9) β like, the whole glow-up
okay bestie, welcome to the Kernel API Manual β¨ this one's all about afu_dma_region_add(9), and honestly? she's a tiny little function with main character energy π
πΈ NAME πΈ
afu_dma_region_add β adds the given dma region to the rbtree π
β¨ SYNOPSIS β¨
int afu_dma_region_add (struct dfl_feature_dev_data *fdata , struct
dfl_afu_dma_region *region );
like yes, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
fdataβ the feature dev data, she's the vibe holder π§regionβ the dma region that's getting added, the guest of honour π
π₯ DESCRIPTION π₯
So here's the tea β β she returns 0 for success, and -EEXIST if the dma region has already been added. Like, girl, you're already in the tree, we see you π
β οΈ okay this part is important, do NOT skip it: needs to be called with fdata->lock held. literally hold the lock. it's giving "please don't rawdog the concurrency" π
π SEE ALSO π
Kernel file ./drivers/fpga/dfl-afu-dma-region.c β and her whole friend group, fr fr:
afu_dma_pin_pages(9)afu_dma_unpin_pages(9)afu_dma_check_continuous_pages(9)dma_region_check_iova(9)afu_dma_region_remove(9)afu_dma_region_destroy(9)afu_dma_region_find(9)afu_dma_region_find_iova(9)afu_dma_map_region(9)afu_dma_unmap_region(9)
π and that's the page!! sourced from ./drivers/fpga, dated October 2026 β mwah, slay, periodt πβ
π¦ 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