next_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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. πŸ“–βœ¨


mwah πŸ’‹ source/version: ./drivers/usb/dwc3; date: October 2026; page: next_request(9). byeee, go slay your list. πŸ‘‘πŸ’…

πŸ“¦ where this page comes from