dwc3_gadget_...rted_request(9)
π dwc3_gadget_...rted_request(9) β like, the Kernel API Manual page, bestie π
okay so real talk: this is a page straight out of the Kernel API Manual β dwc3_gadget_...rted_request(9), yes the name is doing that whole abbreviated thing, she's mysterious, we love her. it's about one tiny function that shuffles USB requests around, and honestly? iconic behavior. let's get into it π¦
β¨ NAME β¨
dwc3_gadget_move_started_request β the function that moves @req on over to the started_list. that's it, that's the whole job, and she does it flawlessly πββοΈ
β¨ SYNOPSIS β¨
void dwc3_gadget_move_started_request (struct dwc3_request *req );
no return value, no drama β void through and through, she gives what she gives π
β¨ ARGUMENTS β¨
reqβ literally the request that's getting moved. that's the one. bestie, this is the star of the show π
β¨ DESCRIPTION β¨
okay so heads up, and this part is fr fr important: the caller should take care of locking. like, that's on you, not on her. no cap. π
once that's handled, this function will move req from whatever list it's currently chilling on, over to the endpoint's started_list. that's the glow-up. that's the whole arc. she goes from "current list" to "started_list" and we're all obsessed π
β οΈ not me reminding you again β but the locking is the caller's job. do not forget. your future self will thank you π
β¨ SEE ALSO β¨
- Kernel file
./drivers/usb/dwc3/gadget.hβ go read it, iykyk π next_request(9)dwc3_gadget_move_cancelled_request(9)dwc3_gadget_ep_get_transfer_index(9)dwc3_gadget_dctl_write_safe(9)
all of these are part of the same little friend group, so check them out when you're done here πΈ
sign-off time, bestie!! π this masterpiece lives over in ./drivers/usb/dwc3, and it was dated October 2026 β so go forth, move those requests, take care of that locking, and slay π«Άβ¨π
π¦ 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