store_dscr_default(9)
π store_dscr_default(9) β like, the Kernel API Manual, section 9, bestie π
okay so real talk, this one lives in the kernel API manual (section 9, functions), and it's genuinely iconic in a quiet way β it's the little function that updates the system wide DSCR default. yes, the system wide one. the whole system. one default. slay π
β¨ NAME β¨
store_dscr_default β Update the system wide DSCR default π¦
β¨ SYNOPSIS β¨
ssize_t __used store_dscr_default (struct device *dev , struct device_attribute *attr , const char *buf , size_t count );
β¨ ARGUMENTS β¨
like, four things go in, no cap:
devβ Device structure. this is the device struct, the whole vibe of "which device are we talking about" π«Άattrβ Device attribute structure. the device attribute struct, showing up as always β¨bufβ Interface buffer. the buffer from the interface β that's where your stuff comes in πcountβ Size of the update. literally just how big the update is, iykyk π
β¨ DESCRIPTION β¨
bestie. listen. this function updates the system wide DSCR default value. that's the whole thing. that's the assignment, and it ate π₯
system wide. not per-device, not per-anything-else. system wide. main character energy fr fr π
β¨ SEE ALSO β¨
the kernel file in question is ./arch/powerpc/kernel/sysfs.c β and while you're in that neighborhood, go say hi to the friends:
read_dscr(9)πΈwrite_dscr(9)πshow_dscr_default(9)β
go read all of them, don't leave them on read π they're literally right there.
okay that's the page!! written from ./arch/powerpc/kernel, October 2026, for the Kernel API Manual π bye bestie, go update that system wide DSCR default responsibly π§β¨
π¦ 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