usb_wait_an...mpty_timeout(9)
πΈ usb_wait_anchor_empty_timeout(9) πΈ
okay bestie, this little icon lives in the Kernel API Manual, and it's basically the "are we done here?" checkpoint for USB anchors. no cap, it's giving patient-waiting main character energy π β¨
π NAME π
usb_wait_anchor_empty_timeout β wait for an anchor to be unused π«Ά
π SYNOPSIS π
int usb_wait_anchor_empty_timeout (struct usb_anchor *anchor , unsigned int timeout );
π ARGUMENTS π
anchorβ the anchor you want to become unused πtimeoutβ how long you are willing to wait in milliseconds β³
π¦ DESCRIPTION π¦
Call this if you want to be sure all of an anchor's URBs have finished. literally the "everybody out of the pool?" check π¦
π₯ RETURN π₯
Non-zero if the anchor became unused. Zero on timeout. periodt π
π SEE ALSO π
Kernel file ./drivers/usb/core/urb.c β and the whole USB urb squad:
usb_init_urb(9)usb_alloc_urb(9)usb_free_urb(9)usb_get_urb(9)usb_anchor_urb(9)usb_unanchor_urb(9)usb_pipe_type_check(9)usb_urb_ep_type_check(9)usb_submit_urb(9)usb_unlink_urb(9)usb_kill_urb(9)usb_poison_urb(9)usb_block_urb(9)usb_kill_anchored_urbs(9)usb_poison_anchored_urbs(9)usb_unpoison_anchored_urbs(9)usb_anchor_suspend_wakeups(9)usb_anchor_resume_wakeups(9)usb_get_from_anchor(9)usb_scuttle_anchored_urbs(9)usb_anchor_empty(9)
this page comes from ./drivers/usb/core, dated October 2026 β mwah, go wait on that anchor bestie ππ¦β¨
π¦ 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