最終更新:2014-05-18 (日) 19:21:27 (3623d)
linux/usb/hcd.h?usb_hcd_submit_urb
Top / usb_hcd_submit_urb
http://lxr.onakasuita.org/ident?i=usb_hcd_submit_urb
/* may be called in any context with a valid urb->dev usecount * caller surrenders "ownership" of urb * expects usb_submit_urb() to have sanity checked and conditioned all * inputs in the urb */
int usb_hcd_submit_urb (struct urb *urb, gfp_t mem_flags)
実装
呼び出し
- get_urb? - increments the reference count of the urb
- atomic_inc?
- usbmon_urb_submit?
- if is_root_hub?
- else
- map_urb_for_dma?
- hc_driver.urb_enqueue
- unmap_urb_for_dma?
- unlikely
- usbmon_urb_submit_error?
- usb_kill_urb_queue?
- usb_put_urb? -> usb_free_urb?