Man Page: usb_wait_anchor_empty_timeout
Operating Environment: centos
Section: 9
USB_WAIT_ANCHOR_EMPT(9) USB Core APIs USB_WAIT_ANCHOR_EMPT(9)NAMEusb_wait_anchor_empty_timeout - wait for an anchor to be unusedSYNOPSISint usb_wait_anchor_empty_timeout(struct usb_anchor * anchor, unsigned int timeout);ARGUMENTSanchor the anchor you want to become unused timeout how long you are willing to wait in millisecondsDESCRIPTIONCall this is you want to be sure all an anchor's URBs have finishedRETURNNon-zero if the anchor became unused. Zero on timeout.COPYRIGHTKernel Hackers Manual 3.10 June 2014 USB_WAIT_ANCHOR_EMPT(9)