__dma_fence_is_later(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __dma_fence_is_later(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” today we're doing __dma_fence_is_later, and honestly? it's giving tiny function, big main character energy πŸ’…


πŸ’– NAME πŸ’–

__dma_fence_is_later β€” returns whether f1 is chronologically later than f2 ⏰✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool __dma_fence_is_later (struct dma_fence *fence , u64 f1 , u64 f2 );

like, it takes a fence and two u64s and gives you back a bool, that's the whole vibe 🫢


🌸 ARGUMENTS 🌸

  • fence β€” the fence in whose context we're doing the comparison, bestie. it's literally the setting of the whole scene πŸ’«
  • f1 β€” the first fence's seqno, ok? πŸ“
  • f2 β€” the second fence's seqno, and heads up: it's from the same context πŸ”₯

πŸ‘‘ DESCRIPTION πŸ‘‘

So here's the tea β˜•: this returns true if f1 is chronologically later than f2. That's it. That's the function. Slay πŸ’…

⚠️ but listen β€” both fences MUST be from the same context. A seqno is not common across contexts, so comparing across them is a no-no, no cap 😭 πŸ™ˆ

⭐ SEE ALSO ⭐

Kernel file ./include/linux/dma-fence.h 🧚 and the whole friend group:


and that's the whole page, bestie 🌈 this lil gem lives in ./include/linux, the version is October 2026, and it's filed under __dma_fence_is_later(9) β€” go forth and compare seqnos responsibly, ilysm πŸ’œπŸ«Άβœ¨

πŸ“¦ where this page comes from