afu_dma_map_region(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… afu_dma_map_region(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the afu_dma_map_region(9) page from the Kernel API Manual. it's giving β€œmap a memory region for dma” and honestly? iconic. πŸ’–


🌸 NAME 🌸

afu_dma_map_region β€” map memory region for dma

✨ SYNOPSIS ✨

       int afu_dma_map_region (struct dfl_feature_dev_data *fdata , u64
       user_addr , u64 length , u64 *iova );

πŸŽ€ ARGUMENTS πŸŽ€

  • fdata β€” feature dev data.
  • user_addr β€” address of the memory region.
  • length β€” size of the memory region.
  • iova β€” pointer of iova address.

πŸ’– DESCRIPTION πŸ’–

So this maps the memory region defined by user_addr and length, then returns the dma address of the memory region via iova. no cap, that's the whole deal. ✨

It returns 0 for success β€” slay β€” otherwise you get an error code. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ cute lil sign-off: source/version is ./drivers/fpga, date is October 2026, and the page is afu_dma_map_region(9). bye bestie, go map that region πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from