next_request(9)
π next_request(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual page for next_request(9). it's giving "small function, clear job, no extra drama" β and honestly? we love that for us. π«Άβ¨
β¨ NAME β¨
next_request β gets the next request on the given list. that's the whole assignment, no cap. π
π SYNOPSIS π
struct dwc3_request * next_request (struct list_head *list );
π ARGUMENTS π
listβ the request list to operate on. yep, that's the one. πΈ
π¦ DESCRIPTION π¦
okay so real talk: the caller should take care of locking. π not the function, not the list, not the vibes β you, bestie. handle your locking. periodt. π
This function returns NULL or the first request available on list. that's it, that's the tea. π
π SEE ALSO π
Kernel file ./drivers/usb/dwc3/gadget.h β yes, go peek at the actual file, iykyk. πβ¨
dwc3_gadget_move_started_request(9)dwc3_gadget_move_cancelled_request(9)dwc3_gadget_ep_get_transfer_index(9)dwc3_gadget_dctl_write_safe(9)
mwah π source/version: ./drivers/usb/dwc3; date: October 2026; page: next_request(9). byeee, go slay your list. ππ
π¦ 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