usb_ep_free_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to usb_ep_free_request(9) from the Kernel API Manual ✨ this page is short, but it's literally about freeing a request object, so let's give it the attention it deserves πŸ’…

πŸŽ€ NAME πŸŽ€

usb_ep_free_request β€” frees a request object. that's the whole assignment: request object? freed. periodt 🫢

✨ SYNOPSIS ✨

void usb_ep_free_request (struct usb_ep *ep , struct usb_request *req );

🧚 ARGUMENTS 🧚

  • ep β€” the endpoint associated with the request 🎯
  • req β€” the request being freed, bye bestie πŸ‘‹

πŸ’– DESCRIPTION πŸ’–

this is the undo of usb_ep_alloc_request β€” it reverses the effect of that function. like, you allocated the request, and now you're handing it back to the void 🫢

the caller guarantees the request is not queued, and that it will no longer be requeued (or otherwise used). no cap, that's the important part: the caller has to be absolutely sure req is done being used before this happens πŸ‘‘

🚨 important bestie: the caller guarantees the request is not queued, and that it will no longer be requeued (or otherwise used). don't skip that vibe check πŸ’€

🌈 SEE ALSO 🌈

go read these too, they're all connected:

mwah πŸ’‹ β€” this one comes from ./drivers/usb/gadget/udc, dated October 2026. now go free that request and slay, bestie 🫢✨

πŸ“¦ where this page comes from