dma_fence_chain_find_seqno(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

dma_fence_chain_find_seqno β€” find fence chain node by seqno ✨

okay bestie, this is dma_fence_chain_find_seqno(9) from the Kernel API Manual, and it’s giving β€œtiny helper with one very specific job” energy πŸ’…


🌸 SYNOPSIS 🌸

int dma_fence_chain_find_seqno (struct dma_fence **pfence , uint64_t
       seqno );

πŸŽ€ ARGUMENTS πŸŽ€

  • pfence β€” pointer to the chain node where to start 🫢
  • seqno β€” the sequence number to search for πŸ”

πŸ’… DESCRIPTION πŸ’…

So here’s the vibe: this advances the fence pointer to the chain node that will signal this sequence number ✨ like, it moves your pointer forward to the right node, no cap.

If no sequence number is provided, then this is a no-op β€” literally nothing happens, bestie πŸ’€.

It returns EINVAL if the fence is not a chain node, or if the sequence number has not yet advanced far enough 😭. That’s the whole mood.

πŸ¦‹ SEE ALSO πŸ¦‹

mwah πŸ’‹ source ./drivers/dma-buf, Kernel API Manual, October 2026 β€” dma_fence_chain_find_seqno(9), periodt 🫢

πŸ“¦ where this page comes from