afu_dma_region_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


🌈 and that's the page!! sourced from ./drivers/fpga, dated October 2026 β€” mwah, slay, periodt πŸ’œβ­

πŸ“¦ where this page comes from