dwc3_gadget_...lled_request(9)
π dwc3_gadget_...lled_request(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is a real kernel function page and yes the title got truncated by the man page formatter, no we are not going to be weird about it π«Ά
πΈ NAME πΈ
dwc3_gadget_move_cancelled_request β the lil function that moves @req over to the cancelled_list π
β¨ SYNOPSIS β¨
void dwc3_gadget_move_cancelled_request (struct dwc3_request *req ,
unsigned int reason );
like, it returns void β nothing back, it just does the thing and dips π
π¦ ARGUMENTS π¦
reqβ the request to be moved. this is the main character of the operation, the one getting relocated πreasonβ the cancelled reason for thedwc3request. iykyk, every cancellationβs got lore π
π DESCRIPTION π
okay so real talk: the caller should take care of locking π. not this function, not your group chat, you. thatβs the vibe check on this one, bestie β no cap.
once youβve handled that, this function will move req from its current list over to the endpoint's cancelled_list. literally just a glow-up relocation, list to list, slay β¨
π SEE ALSO π
peep the Kernel file ./drivers/usb/dwc3/gadget.h for the whole friend group π§, plus these icons:
next_request(9)dwc3_gadget_move_started_request(9)dwc3_gadget_ep_get_transfer_index(9)dwc3_gadget_dctl_write_safe(9)
β friendly reminder fr fr: locking is your job here. donβt come for the function when the list gets spicy π
and thatβs the whole page babes π β brought to you by ./drivers/usb/dwc3, dated October 2026, and the manual name that started it all, dwc3_gadget_...lled_request(9) π mwah, go move some requests π
β¨
π¦ 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