dma_resv_copy_fences(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_resv_copy_fences(9) πŸ’…

okay so bestie, welcome to the dma_resv_copy_fences(9) page β€” it lives in the Kernel API Manual, and honestly? it's giving short-and-sweet main character energy. let's get into it πŸŽ€


✨ NAME ✨

dma_resv_copy_fences β€” copy all the fences from src to dst. like, all of them. every last one. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

int dma_resv_copy_fences (struct dma_resv *dst , struct dma_resv *src );

she takes two struct dma_resv * and hands you back an int, periodt. πŸ’…


🧚 ARGUMENTS 🧚

  • dst β€” the destination reservation object. the one receiving the fences, she's the hostess with the mostest 🫢
  • src β€” the source reservation object. the one the fences are coming from, she's the donor bestie πŸ’–

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the whole vibe: copy all the fences from src to dst. that's it, that's the function. 🌈

but listen β€” dst-lock must be held. that's not a suggestion, that's the rule. hold the lock, bestie, or things get ✨ undefined ✨ and we don't do that here. πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

like the whole dma-resv friend group, fr fr β€” go read them all, you'll be obsessed πŸ˜­πŸ’–


and that's the page!! tysm for reading, mwah πŸŽ€ this one came from ./drivers/dma-buf, dated October 2026, and it's part of the Kernel API Manual β€” go slay your fences, bestie βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from