Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 23 files:
- drivers/usb/c67x00/c67x00-sched.c
- drivers/usb/core/hcd.c
- drivers/usb/dwc2/hcd.c
- drivers/usb/fotg210/fotg210-hcd.c, line 2226
- drivers/usb/gadget/udc/dummy_hcd.c, line 2019
- drivers/usb/host/ehci-q.c, line 275
- drivers/usb/host/fhci-q.c, line 205
- drivers/usb/host/isp116x-hcd.c, line 309
- drivers/usb/host/max3421-hcd.c
- drivers/usb/host/octeon-hcd.c, line 2041
- drivers/usb/host/ohci-q.c, line 75
- drivers/usb/host/oxu210hp-hcd.c, line 1367
- drivers/usb/host/r8a66597-hcd.c, line 828
- drivers/usb/host/sl811-hcd.c, line 435
- drivers/usb/host/uhci-q.c, line 1556
- drivers/usb/host/xen-hcd.c, line 775
- drivers/usb/host/xhci-ring.c, line 842
- drivers/usb/host/xhci.c, line 1882
- drivers/usb/isp1760/isp1760-hcd.c, line 972
- drivers/usb/musb/musb_host.c, line 286
- drivers/usb/renesas_usbhs/mod_host.c, line 656
- drivers/usb/usbip/vhci_hcd.c
- drivers/usb/usbip/vhci_rx.c
Smatch caller information:
drivers/usb/isp1760/isp1760-hcd.c isp1760_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->pipe | 128-u32max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | spinflags |
drivers/usb/host/max3421-hcd.c max3421_check_unlink() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.pins->p | 0,4096-s64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->unlinked | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| BUF_SIZE | 0 | hcd | 128 |
| BUF_SIZE | 0 | hcd | 128 |
| CAPPED_DATA | 1 | &urb->urb_list | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| NOCHECK_CALL |
drivers/usb/host/max3421-hcd.c max3421_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->curr_urb | 0 |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->rx | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->tx | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | hcd->hcd_priv->urb_done | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | s32min-0 |
| BUF_SIZE | 0 | hcd | 128 |
| BUF_SIZE | 0 | hcd | 128 |
| DATA_SOURCE | 0 | hcd | $0 |
| FUZZY_MAX | 2 | status | 0 |
| NOCHECK_CALL |
drivers/usb/host/uhci-hcd.c uhci_giveback_urb() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-121),(-84),(-75),(-71),(-63),(-32),0 |
| DATA_SOURCE | 1 | urb | $2 |
| DATA_SOURCE | 2 | status | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/gadget/udc/dummy_hcd.c dummy_timer() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv->miter.__offset | 0-4294967295 |
| PARAM_VALUE | 1 | urb->hcpriv->miter.__remaining | 0-4294967295 |
| PARAM_VALUE | 1 | urb->hcpriv->miter.addr | 0 |
| PARAM_VALUE | 1 | urb->hcpriv->miter.piter.__nents | 0-4294967295 |
| PARAM_VALUE | 1 | urb->hcpriv->miter.piter.__pg_advance | s32min-s32max |
| PARAM_VALUE | 1 | urb->hcpriv->miter.piter.sg_pgoffset | 0-4294967295 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | *urb->hcpriv->miter->addr | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | status | (-115),(-75),(-71),(-32),(-22),0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/isp116x-hcd.c finish_request() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-121),(-115)-(-114),(-108),(-104),(-84),(-75),(-71)-(-70),(-63)-(-62),(-32),(-5),(-2),0 |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | urb | $2 |
| DATA_SOURCE | 2 | status | $3 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/ehci-hcd.c ehci_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-121),(-115),(-108),(-75),(-71)-(-70),(-63),(-32),0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| HALF_LOCKED2 | &ehci->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/usbip/vhci_hcd.c vhci_cleanup_unlink_list() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.root_hub->dev.pins->p | 0,4096-s64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->status | (-19) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-19) |
| DATA_SOURCE | 0 | hcd | r vhci_hcd_to_hcd |
| DATA_SOURCE | 1 | urb | r pickup_urb_and_free_priv |
| NOCHECK_CALL | |||
| LOCK2 | &ud->sysfs_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct usbip_device)->sysfs_lock |
drivers/usb/usbip/vhci_hcd.c vhci_urb_dequeue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->vhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->unlinked | (-108),(-104),(-2) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | irq |
drivers/usb/usbip/vhci_hcd.c vhci_urb_enqueue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->vdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->vhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| PARAM_VALUE | 0 | hcd->self.mon_bus->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->self.sysdev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.sysdev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->can_submit | 1 |
| PARAM_VALUE | 1 | urb->dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->dev->portnum | 0-8 |
| PARAM_VALUE | 1 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->interval | s32min-32768 |
| PARAM_VALUE | 1 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 1 | urb->reject.counter | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| CAPPED_DATA | 0 | hcd | 1 |
| CAPPED_DATA | 1 | urb->interval | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| FUZZY_MAX | 1 | urb->dev->state | 7 |
| NOCHECK_CALL | |||
| LOCK2 | flags |
drivers/usb/fotg210/fotg210-hcd.c fotg210_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-121),(-115),(-108),(-75),(-71)-(-70),(-63),(-32),0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/usb/host/xhci-ring.c xhci_giveback_urb_in_irq() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| DATA_SOURCE | 0 | hcd | r bus_to_hcd |
| DATA_SOURCE | 2 | status | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &xhci->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c ehci_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->status | s32min-(-116),(-114)-s32max |
| PARAM_VALUE | 2 | status | s32min-(-116),(-114)-s32max |
| DATA_SOURCE | 1 | urb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags |
drivers/usb/host/sl811-hcd.c finish_request() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-115),(-108),(-75),(-71),(-62),(-32),0 |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | urb | $2 |
| DATA_SOURCE | 2 | status | $3 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| HARD_MAX | 2 | status | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | flags |
drivers/usb/usbip/vhci_rx.c vhci_recv_ret_submit() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->transfer_flags | 0-16777215 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| DATA_SOURCE | 1 | urb | r pickup_urb_and_free_priv |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/usb/usbip/vhci_rx.c vhci_recv_ret_unlink() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->status | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | 0 |
| DATA_SOURCE | 1 | urb | r pickup_urb_and_free_priv |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/usb/dwc2/hcd.c _dwc2_hcd_urb_dequeue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->unlinked | (-108),(-104),(-2) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108),(-104),(-2) |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),1-s32max |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| HARD_MAX | 2 | status | (-2) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/dwc2/hcd.c dwc2_host_complete() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| DATA_SOURCE | 2 | status | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hsotg->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/host/xhci.c xhci_urb_dequeue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->unlinked | (-108),(-104),(-2) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108) |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),1-s32max |
| CAPPED_DATA | 0 | hcd | 1 |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | irq |
drivers/usb/musb/musb_host.c musb_giveback() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | s32min-(-116),(-114)-s32max |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | flags |
drivers/usb/host/xen-hcd.c xenhcd_giveback_urb() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | s32min-(-116),(-114)-s32max |
| DATA_SOURCE | 1 | urb | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/ohci-hcd.c finish_urb() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-121),(-114),(-84),(-75),(-71)-(-70),(-63)-(-62),(-32),(-5),0 |
| DATA_SOURCE | 1 | urb | $1 [m] |
| DATA_SOURCE | 2 | status | $2 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/c67x00/c67x00-sched.c c67x00_giveback_urb() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-110),(-84),(-75),(-32),0 |
| CAPPED_DATA | 1 | urb | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/c67x00/c67x00-sched.c c67x00_urb_dequeue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->hcd_priv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hcd->hcd_priv->max_frame_bw | 9750 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->unlinked | (-108),(-104),(-2) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108),(-104),(-2) |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),1-s32max |
| CAPPED_DATA | 1 | urb | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| HARD_MAX | 2 | status | (-2) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| LOCK2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/usb/core/hcd.c rh_call_control() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->self.mon_bus->cnt_events | 0-4294967295 |
| PARAM_VALUE | 0 | hcd->self.mon_bus->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0-s32max |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->can_submit | 1 |
| PARAM_VALUE | 1 | urb->dev->parent | 0 |
| PARAM_VALUE | 1 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->enabled | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep->urb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->interval | s32min-32768 |
| PARAM_VALUE | 1 | urb->reject.counter | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | s32min-0 |
| CAPPED_DATA | 1 | urb->actual_length | 1 |
| CAPPED_DATA | 1 | urb->interval | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| FUZZY_MAX | 1 | urb->dev->state | 7 |
| BIT_INFO | 1 | urb->transfer_flags | 0x0,0xff80ffff |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | global &hcd_root_hub_lock | ||
| LOCK2 | irq |
drivers/usb/core/hcd.c usb_hcd_poll_rh_status() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->rh_pollable | 1 |
| PARAM_VALUE | 0 | hcd->status_urb | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0-s32max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-75),0 |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hcd | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | urb->actual_length | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| FUZZY_MAX | 2 | status | 0 |
| HARD_MAX | 2 | status | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | hcd | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | global &hcd_root_hub_lock | ||
| HALF_LOCKED2 | &musb->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &ud->sysfs_lock | ||
| HALF_LOCKED2 | &vdev->ud.sysfs_lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/core/hcd.c usb_rh_urb_dequeue() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->status_urb | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->dev->parent | 0 |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->unlinked | (-108),(-104),(-2) |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108),(-104),(-2) |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),1-s32max |
| CAPPED_DATA | 1 | urb | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| HARD_MAX | 2 | status | (-2) |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| LOCK2 | flags | ||
| LOCK2 | global &hcd_root_hub_lock | ||
| HALF_LOCKED2 | irq |
drivers/usb/host/r8a66597-hcd.c r8a66597_urb_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->iso_frame_desc->actual_length | 0-4294967295 |
| PARAM_VALUE | 1 | urb->pipe | 128-u32max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108),(-104),(-75),(-32),(-19),(-2),0 |
| BUF_SIZE | 1 | urb->context | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | status | $2 |
| NOSPEC | 1 | urb->transfer_buffer_length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | urb->start_frame | 0-s32max |
| USER_DATA | 1 | urb->actual_length | 0-u32max[c][u] |
| USER_DATA | 1 | urb->transfer_buffer_length | 1-s32max |
| NO_OVERFLOW_SIMPLE | 1 | urb->actual_length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | urb->transfer_dma | |
| HALF_LOCKED2 | flags |
drivers/usb/renesas_usbhs/mod_host.c usbhsh_queue_done() -> usb_hcd_giveback_urb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | status | (-108),0 |
| FUZZY_MAX | 2 | status | 0 |
| HARD_MAX | 2 | status | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |