populate_enum_data(9)
β¨ populate_enum_data(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a little function called populate_enum_data, and honestly? it's giving "i fill in all the little forms so you don't have to" π
πΈ NAME πΈ
populate_enum_data β literally populates all the properties of an instance that lives under an enumeration attribute π¦ no cap, all of them.
β¨ SYNOPSIS β¨
int populate_enum_data (union acpi_object *enumeration_obj , int
instance_id , struct kobject *attr_name_kobj , u32 enum_property_count
);
π ARGUMENTS π
enumeration_objβ the ACPI object holding the enumeration data π that's your source material, bestie.instance_idβ which instance you're enumerating, iykyk π₯attr_name_kobjβ the parent kernel object, aka the responsible adult in the room πenum_property_countβ the total property count under the enumeration type, so it knows how many lil slots to fill π
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c validate_enumeration_input(9)exit_enum_attributes(9)
fr fr go read those next, they're the sibling icons of this whole vibe π
and that's the whole page, bestie!! π§ this lil masterpiece came from source/version ./drivers/platform/x86/dell/de... and it's dated October 2026 β screenshot it, memorise it, slay the kernel, periodt ππ¦πΈ
π¦ 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