stub_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so bestie, welcome to stub_complete(9) from the Kernel API Manual ✨ β€” this page is all about stub_complete, aka the completion handler of a usbip urb. Periodt. πŸ’…

✨ SYNOPSIS ✨

Here’s the signature, exactly as it lives, no edits:

void stub_complete (struct urb *urb );

πŸŽ€ ARGUMENTS πŸŽ€

  • urb β€” pointer to the urb completed. That’s the completed urb, bestie. πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

When a urb has completed, the USB core driver calls this function mostly in the interrupt context. 😭 That β€œmostly” is doing a lot of work, so keep it. To return the result of a urb, the completed urb is linked to the pending list of returning. Literally that’s the whole flow: completed urb goes on the pending list of returning so its result can make its way back. πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/usb/usbip/stub_tx.c β€” go peek, iykyk πŸ’œ

mwah πŸ’‹ β€” this page’s source/version is ./drivers/usb/usbip, and it’s dated October 2026. 🫢

πŸ“¦ where this page comes from