drm_sched_entity_stats_get(9)
π 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β astruct drm_sched_entity_statspointer. 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 π
- Kernel file
./drivers/gpu/drm/scheduler/sched_internal.hβ structdrm_sched_entity_stats(9) drm_sched_entity_queue_pop(9)drm_sched_entity_queue_peek(9)drm_sched_entity_stats_put(9)
ngl if you're calling_getyou probably owe the universe adrm_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
- 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