dma_resv_copy_fences(9)
π 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 π
- the Kernel file
./drivers/dma-buf/dma-resv.cβ the source of truth, iconic Reservation Object Overview(9)dma_resv_init(9)dma_resv_fini(9)dma_resv_reserve_fences(9)dma_resv_reset_max_fences(9)dma_resv_add_fence(9)dma_resv_replace_fences(9)dma_resv_iter_first_unlocked(9)dma_resv_iter_next_unlocked(9)dma_resv_iter_first(9)dma_resv_iter_next(9)dma_resv_get_fences(9)dma_resv_get_singleton(9)dma_resv_wait_timeout(9)dma_resv_set_deadline(9)dma_resv_test_signaled(9)dma_resv_describe(9)
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
- 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