STRUCT KOBJ_ECLASS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct kobj_eclass(9) β€” from the Kernel API Manual, bestie

okay so picture this: it's a manual page, it's section 9, and it's literally called struct kobj_eclass. welcome to the group chat 🫢


✨ NAME ✨

struct kobj_eclass β€” an eclass's kobject struct, and its whole entire job is connecting the kobject and the eclass together. like a little matchmaker πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct kobj_eclass {
    struct kobject base;
    struct xe_hw_engine_class_intf *eclass;
    struct xe_device *xe;
 };

she's compact, she's iconic, she's three fields and a dream ✨


🌸 Members 🌸

  • base β€” the actual kobject. that's her. the real one. no cap πŸ’…
  • eclass β€” a pointer to the hw engine class interface πŸ‘‘
  • xe β€” a pointer to the xe device πŸ¦‹

πŸ’– Description πŸ’–

so when you're dealing with multiple eclass (plural! a whole squad!), this struct is the one that helps you figure out which eclass needs to be addressed on a given sysfs call. it's giving main character energy in a crowd of eclasses, fr fr 😭


⭐ SEE ALSO ⭐

  • Kernel file ./drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.h πŸ“

and that's the whole page, bestie, go off πŸ’œ

source: ./drivers/gpu/drm/xe Β· dated October 2026 Β· manual: struct kobj_eclass(9) β€” mwah, slay, bye πŸ§šβ€β™€οΈπŸŽ€

πŸ“¦ where this page comes from