platform_profile_store(9)
π platform_profile_store(9) π
okay so bestie, welcome to platform_profile_store(9) β literally the kernel API manual page, and yes we're reading it together, it's giving study date energy π
This one is platform_profile_store β the function that sets the profile for the legacy sysfs interface. That's the whole vibe. Legacy. Sysfs. Profile-setting. Slay. π¦
β¨ SYNOPSIS β¨
ssize_t platform_profile_store (struct kobject *kobj , struct
kobj_attribute *attr , const char *buf , size_t count );
four arguments, one ssize_t coming back at you, no cap π
πΈ ARGUMENTS πΈ
kobjβ the kobject. that's it, that's the whole description. it's the kobject, bestie π«Άattrβ the attribute. iconic, no notes β¨bufβ the buffer to read from. this is where the good stuff lives πcountβ the number of bytes to read. respect the count, always π
π RETURN π
the number of bytes read π₯ that's the whole return story, periodt.
ngl this manpage is short and sweet and we respect that β not every page needs to be a whole saga π
π SEE ALSO π
okay so this list is LONG and honestly kind of main character energy β literally every related function in the family tree π
- kernel file
./drivers/acpi/platform_profile.cβ the home base of this whole situation π _commmon_choices_show(9)(yes that's spelled with three m's, do NOT come for me, I'm copying it exactly π)_store_class_profile(9)_notify_class_profile(9)get_class_profile(9)name_show(9)choices_show(9)profile_show(9)profile_store(9)_aggregate_choices(9)_remove_hidden_choices(9)platform_profile_choices_show(9)_aggregate_profiles(9)_store_and_notify(9)platform_profile_show(9)platform_profile_notify(9)platform_profile_cycle(9)platform_profile_register(9)platform_profile_remove(9)devm_platform_profile_register(9)
like, the whole friend group showed up to the function party π§β¨
so yeah, that's the page! short, sweet, sets a profile, returns a byte count, done. go be iconic with it π
later bestie β this gem came from ./drivers/acpi, dated October 2026, and it lives in the Kernel API Manual π
ππ¦
π¦ 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