firmware_loading_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… firmware_loading_store(9) β€” the Kernel API Manual moment

ok so bestie, welcome to firmware_loading_store(9) from the Kernel API Manual ✨ this is the function that literally handles writing values into the 'loading' control file, and it's giving sysfs gatekeeper energy πŸ‘‘


🌸 NAME 🌸

firmware_loading_store β€” set value in the 'loading' control file πŸŽ€


✨ SYNOPSIS ✨

ssize_t firmware_loading_store (struct device *dev , struct
       device_attribute *attr , const char *buf , size_t count );

Like, that's the whole signature, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” device pointer 🫢
  • attr β€” device attribute pointer
  • buf β€” buffer to scan for loading control value πŸ‘€
  • count β€” number of bytes in buf

πŸ’– DESCRIPTION πŸ’–

okay so the relevant values are these three icons, memorize them fr fr:

  • 1 β€” Start a load, discarding any previous partial load πŸ—‘οΈβœ¨
  • 0 β€” Conclude the load and hand the data to the driver code 🀝
  • -1 β€” Conclude the load with an error and discard any written data πŸ’€πŸ˜­
ngl bestie, 1 throws away whatever partial mess was there before β€” it's a clean slate moment, main character energy only 🌈

🧚 SEE ALSO 🧚


and that's the whole vibe check, bestie πŸ¦‹ this page lives in ./drivers/base/firmware_loader, it's dated October 2026, and yes it's firmware_loading_store(9) β€” the one and only πŸ‘‘πŸ’œ slay, go read the source, iykyk 🌸

πŸ“¦ where this page comes from