dma_fence_c...ignal_locked(9)
π 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: unlikedma_fence_check_and_signal, this function must be called withstruct dma_fence.lockbeing held. not βprobably held,β not βheld in spiritβ β actually held. periodt. π
π RETURN π
trueiffencehas been signaled already.falseotherwise.
π₯ SEE ALSO π₯
the Kernel file is literally ./drivers/dma-buf/dma-fence.c, and here's the whole bestie crew:
DMA fences overview(9)fence cross-driver contract(9)dma_fence_get_stub(9)dma_fence_allocate_private_stub(9)dma_fence_context_alloc(9)fence signalling annotation(9)dma_fence_begin_signalling(9)dma_fence_end_signalling(9)dma_fence_signal_timestamp_locked(9)dma_fence_signal_timestamp(9)dma_fence_signal_locked(9)dma_fence_check_and_signal(9)dma_fence_signal(9)dma_fence_wait_timeout(9)dma_fence_release(9)dma_fence_free(9)dma_fence_enable_signaling(9)dma_fence_add_callback(9)dma_fence_get_status(9)dma_fence_remove_callback(9)dma_fence_default_wait(9)dma_fence_wait_any_timeout(9)deadline hints(9)dma_fence_set_deadline(9)dma_fence_describe(9)dma_fence_init(9)dma_fence_init64(9)dma_fence_driver_name(9)dma_fence_timeline_name(9)
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
- 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