dma_fence_c...ignal_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

dma_fence_check_and_signal_locked β€” signal the fence if it's not yet signaled

okay so welcome to the dma_fence_c...ignal_locked(9) page from the Kernel API Manual, bestie. this one is short and sweet, and it's lowkey iconic: check the fence, signal it if it hasn't been signaled yet. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

bool dma_fence_check_and_signal_locked (struct dma_fence *fence );

🌸 ARGUMENTS 🌸

  • fence β€” the fence to check and signal.

✨ DESCRIPTION ✨

Checks whether a fence was signaled and signals it if it was not yet signaled. that's the whole vibe. no cap.

⚠️ lock girlies, listen up: unlike dma_fence_check_and_signal, this function must be called with struct dma_fence.lock being held. not β€œprobably held,” not β€œheld in spirit” β€” actually held. periodt. πŸ’€

πŸŽ€ RETURN πŸŽ€

  • true if fence has been signaled already.
  • false otherwise.

πŸ”₯ SEE ALSO πŸ”₯

the Kernel file is literally ./drivers/dma-buf/dma-fence.c, and here's the whole bestie crew:


source/version + date: ./drivers/dma-buf Β· October 2026 Β· page: dma_fence_c...ignal_locked(9) β€” bye bestie, go signal responsibly πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from