timeout_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 in buf. 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 πŸ‘‘


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