store_dscr_default(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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