dma_resv_test_signaled(9)
π dma_resv_test_signaled(9) β like, the Kernel API Manual page you've been waiting for π
okay bestie, so this one lives in the Kernel API Manual and it's called dma_resv_test_signaled(9). yes that's a mouthful, no we're not renaming it, it's iconic as is β¨
πΈ NAME πΈ
dma_resv_test_signaled β test if a reservation object's fences have been signaled. that's the whole vibe check right there π
β¨ SYNOPSIS β¨
bool dma_resv_test_signaled (struct dma_resv *obj , enum dma_resv_usage usage );
π¦ ARGUMENTS π¦
objβ the reservation object. the main character of this whole function ngl π«Άusageβ controls which fences to include, seeenum dma_resv_usage. like, it decides who gets an invite to the party π
π DESCRIPTION π
so here's the tea: callers are not required to hold specific locks, but maybe hold dma_resv_lock already. so lowkey flexible, highkey still pay attention π
β RETURNS β
True if all fences signaled, else false. periodt π
π 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_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_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_describe(9)
like, the whole friend group fr fr ππ
and that's the page bestie!! π§ she's sourced from ./drivers/dma-buf and dated October 2026 β slay, remember it, cite it, love it πβ¨π
π¦ 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