firmware_loading_store(9)
π 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 pointerbufβ buffer to scan for loading control value πcountβ number of bytes inbuf
π 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 π§
- Kernel file
./drivers/base/firmware_loader/sysfs.cβtimeout_store(9),firmware_data_write(9)π
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
- 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