drm_exec_fo...ject_reverse(9)
π 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β thedrm_execobject π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 bydrm_exec_obj, which returns aNULLobject. so it terminates itself, no cap π«Ά
π¦ SEE ALSO π¦
- Kernel file
./include/drm/drm_exec.hstruct drm_exec(9) drm_exec_obj(9)drm_exec_for_each_locked_object(9)drm_exec_until_all_locked(9)drm_exec_retry_on_contention(9)drm_exec_is_contended(9)drm_exec_retry(9)drm_exec_ticket(9)
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
- 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