dma_resv_test_signaled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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, see enum 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 🌈

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