drm_exec_fo...ject_reverse(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_exec_for_each_locked_object_reverse(9) πŸ’…

okay so bestie, this one's straight out of the Kernel API Manual ✨ β€” yes it's a kernel page, no it's not scary, and yes you're gonna get it in like two minutes. periodt.

πŸŽ€ NAME πŸŽ€

drm_exec_for_each_locked_object_reverse β€” iterate over all the locked objects in reverse locking order πŸ¦‹

✨ SYNOPSIS ✨

drm_exec_for_each_locked_object_reverse (exec , obj );

🌸 ARGUMENTS 🌸

  • exec β€” the drm_exec object πŸ‘‘
  • obj β€” the current GEM object πŸŽ€

πŸ’– DESCRIPTION πŸ’–

So here's the vibe: this iterates over all the explicitly locked GEM objects chillin' inside the drm_exec container, and it does it in reverse locking order β€” like walking the list backwards, main character energy only πŸ’…πŸ”₯

ngl bestie, lowkey important: the internal index may wrap around 😭 but that's fully caught by drm_exec_obj, which returns a NULL object. so it terminates itself, no cap 🫢

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie 🫢 straight from ./include/drm, dated October 2026, and yeah the header up top was all drm_exec_fo...ject_reverse(9) because the name is iconic but also long β€” iykyk πŸ’œβœ¨

πŸ“¦ where this page comes from