timeout_store(9)
π timeout_store(9) π
okay so bestie, welcome to the Kernel API Manual β this is timeout_store(9), and it's lowkey iconic for telling the kernel how long to wait for firmware. no cap, let's get into it π«Ά
πΈ SYNOPSIS πΈ
ssize_t timeout_store (const struct class *class , const struct
class_attribute *attr , const char *buf , size_t count );
π ARGUMENTS π
classβ device class pointer. literally the class pointer for the device πattrβ device attribute pointer. the attribute pointer, slay β¨bufβ buffer to scan for timeout value. this is where we go looking for the timeout number πcountβ number of bytes inbuf. yes bestie, how many bytes we're scanning π
π¦ DESCRIPTION π¦
So this one sets the number of seconds to wait for the firmware. That's the whole vibe. Once this expires, an error will be returned to the driver and no firmware will be provided β periodt π
π‘ NOTE π‘
zero means wait forever. like, actually forever. not me romanticizing a timeout value ππ«Ά
π SEE ALSO π
- Kernel file
./drivers/base/firmware_loader/sysfs.c firmware_loading_store(9)firmware_data_write(9)
mwah π this lil page lives in ./drivers/base/firmware_loader and it's dated October 2026. go off, kernel bestie πβ
π¦ 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