drm_sched_entity_stats_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… drm_sched_entity_stats_get(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual, and today's main character is drm_sched_entity_stats_get(9). she's a tiny little function but she's literally holding the whole refcount situation together, no cap.


πŸŽ€ NAME πŸŽ€

drm_sched_entity_stats_get β€” Obtain a reference count on &struct drm_sched_entity_stats object

like… that's it. that's her job. grab a reference count on the &struct drm_sched_entity_stats object and slay πŸ’…


✨ SYNOPSIS ✨

struct drm_sched_entity_stats * drm_sched_entity_stats_get (struct
drm_sched_entity_stats *stats );

the way she takes exactly one argument and hands you back a pointer… lowkey iconic 🫢


🌸 ARGUMENTS 🌸

  • stats β€” a struct drm_sched_entity_stats pointer. yep. that's the whole vibe. she wants the pointer, she gets the pointer πŸ¦‹

⭐ RETURN ⭐

returns a struct drm_sched_entity_stats pointer πŸŽ€ β€” so you give her a pointer, she gives you a pointer back. balanced. symmetrical. main character energy fr fr.


πŸ‘‘ SEE ALSO πŸ‘‘

ngl if you're calling _get you probably owe the universe a drm_sched_entity_stats_put(9) at some point. just saying πŸ‘€ that's the whole get/put situation, iykyk.

and that's the page!! brought to you by ./drivers/gpu/drm/scheduler, dated October 2026 β€” mwah, love u, go call drm_sched_entity_stats_put(9) when you're done πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from