dma_resv_reset_max_fences(9)
π dma_resv_reset_max_fences(9)
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is dma_resv_reset_max_fences β yes that's a whole mouthful, we love her anyway π
β¨ NAME β¨
dma_resv_reset_max_fences β reset fences for debugging π§
πΈ SYNOPSIS πΈ
void dma_resv_reset_max_fences (struct dma_resv *obj );
π¦ ARGUMENTS π¦
objβ thedma_resvobject to reset π
π₯ DESCRIPTION π₯
so what she does is: she resets the number of pre-reserved fence slots π
and the whole point of doing that is testing β like, you're checking that drivers actually do correct slot allocation using dma_resv_reserve_fences. no cap, that's the vibe check π«Ά
also see dma_resv_list.max_fences β that's her little friend, go say hi π
π SEE ALSO π
- Kernel file
./drivers/dma-buf/dma-resv.c Reservation Object Overview(9)dma_resv_init(9)dma_resv_fini(9)dma_resv_reserve_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_copy_fences(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)
and that's the whole page, bestie, you ate that ππ this lil icon lives in ./drivers/dma-buf and the whole thing is dated October 2026 β periodt, see you in the next manpage πβ¨π
π¦ 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