1USB_WAIT_ANCHOR_EMPT(9)          USB Core APIs         USB_WAIT_ANCHOR_EMPT(9)
2
3
4

NAME

6       usb_wait_anchor_empty_timeout - wait for an anchor to be unused
7

SYNOPSIS

9       int usb_wait_anchor_empty_timeout(struct usb_anchor * anchor,
10                                         unsigned int timeout);
11

ARGUMENTS

13       anchor
14           the anchor you want to become unused
15
16       timeout
17           how long you are willing to wait in milliseconds
18

DESCRIPTION

20       Call this is you want to be sure all an anchor's URBs have finished
21

RETURN

23       Non-zero if the anchor became unused. Zero on timeout.
24
26Kernel Hackers Manual 3.10         June 2019           USB_WAIT_ANCHOR_EMPT(9)
Impressum