STRUCT KOBJ_ECLASS(9)
π 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
- 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