Defined in 3 files as a function:
- drivers/usb/fotg210/fotg210-hcd.c, line 3010 (as a function)
- drivers/usb/host/ehci-q.c, line 1099 (as a function)
- drivers/usb/host/oxu210hp-hcd.c, line 2013 (as a function)
Referenced in 4 files:
- drivers/usb/fotg210/fotg210-hcd.c, line 5274
- drivers/usb/host/ehci-hcd.c, line 903
- drivers/usb/host/ehci-q.c
- drivers/usb/host/oxu210hp-hcd.c, line 3223
Smatch caller information:
drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> submit_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-s32max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->anchor | 0 |
| PARAM_VALUE | 1 | urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->complete | 3348430229829214208 |
| PARAM_VALUE | 1 | urb->context | 402159582280712192 |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->error_count | 0 |
| PARAM_VALUE | 1 | urb->hcpriv | 0 |
| PARAM_VALUE | 1 | urb->interval | 0 |
| PARAM_VALUE | 1 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 1 | urb->num_sgs | 0 |
| PARAM_VALUE | 1 | urb->number_of_packets | 0 |
| PARAM_VALUE | 1 | urb->pipe | 0,128-u32max |
| PARAM_VALUE | 1 | urb->reject.counter | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 1 | urb->sg | 0 |
| PARAM_VALUE | 1 | urb->sg->dma_flags | 0,2-u32max |
| PARAM_VALUE | 1 | urb->sg->dma_length | 0 |
| PARAM_VALUE | 1 | urb->sgt | 0 |
| PARAM_VALUE | 1 | urb->start_frame | 0 |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->stream_id | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 18 |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | qtd_list | 3175768196387033088 |
| PARAM_VALUE | 2 | qtd_list->next | 3175768196387033088 |
| PARAM_VALUE | 2 | qtd_list->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | mem_flags | 2080 |
| BUF_SIZE | 1 | urb->context | 96 |
| CAPPED_DATA | 0 | fotg210->qtd_pool->size | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| BIT_INFO | 1 | urb->pipe | 0x80000080,0xffffffffffffffff |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |
drivers/usb/host/ehci-hcd.c ehci_submit_single_step_set_feature() -> submit_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-s32max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->anchor | 0 |
| PARAM_VALUE | 1 | urb->anchor_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->anchor_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->complete | 3348430229829214208 |
| PARAM_VALUE | 1 | urb->context | 402159582280712192 |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 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->error_count | 0 |
| PARAM_VALUE | 1 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 1 | urb->num_sgs | 0 |
| PARAM_VALUE | 1 | urb->number_of_packets | 0 |
| PARAM_VALUE | 1 | urb->pipe | 0,128-u32max |
| PARAM_VALUE | 1 | urb->reject.counter | 0 |
| PARAM_VALUE | 1 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 1 | urb->sg | 0 |
| PARAM_VALUE | 1 | urb->sgt | 0 |
| PARAM_VALUE | 1 | urb->start_frame | 0 |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->stream_id | 0 |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 18 |
| PARAM_VALUE | 1 | urb->unlinked | 0 |
| PARAM_VALUE | 1 | urb->urb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->urb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | qtd_list | 3175768196387033088 |
| PARAM_VALUE | 2 | qtd_list->next | 3175768196387033088 |
| PARAM_VALUE | 2 | qtd_list->prev | 4096-ptr_max |
| PARAM_VALUE | 3 | mem_flags | 3264 |
| BUF_SIZE | 1 | urb->context | 96 |
| CAPPED_DATA | 0 | fotg210->qtd_pool->size | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| BIT_INFO | 1 | urb->pipe | 0x80000080,0xffffffffffffffff |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |
drivers/usb/host/ehci-hcd.c ehci_urb_enqueue() -> submit_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-s32max |
| 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->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 1 | urb->ep | 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->setup_packet | 1-u64max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 1 | urb->transfer_flags | 1-u32max |
| PARAM_VALUE | 2 | qtd_list | 7851192674449530880 |
| PARAM_VALUE | 2 | qtd_list->next | 7851192674449530880 |
| PARAM_VALUE | 2 | qtd_list->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | fotg210->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | urb->interval | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 3 | mem_flags | $2 |
| FUZZY_MAX | 1 | urb->dev->state | 7 |
| FUZZY_MAX | 1 | urb->transfer_buffer_length | 16384 |
drivers/usb/fotg210/fotg210-hcd.c fotg210_urb_enqueue() -> submit_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | fotg210->qtd_pool->size | 0-s32max |
| 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->parent | 1-u64max |
| PARAM_VALUE | 1 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 1 | urb->ep | 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->setup_packet | 1-u64max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 1 | urb->transfer_flags | 1-u32max |
| PARAM_VALUE | 2 | qtd_list | 4949178059012300800 |
| PARAM_VALUE | 2 | qtd_list->next | 4949178059012300800 |
| PARAM_VALUE | 2 | qtd_list->prev | 4096-ptr_max |
| CAPPED_DATA | 0 | fotg210->qtd_pool->size | 1 |
| CAPPED_DATA | 1 | urb->interval | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 3 | mem_flags | $2 |
| FUZZY_MAX | 1 | urb->dev->state | 7 |
| FUZZY_MAX | 1 | urb->transfer_buffer_length | 16384 |
drivers/usb/host/oxu210hp-hcd.c __oxu_urb_enqueue() -> submit_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->mem_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *fotg210->db_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->qtd_used | 0-255 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->hcpriv | 0,4096-ptr_max |
| PARAM_VALUE | 1 | urb->interval | s32min-32768 |
| PARAM_VALUE | 1 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 1 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-4096 |
| PARAM_VALUE | 1 | urb->transfer_flags | 1-u32max |
| PARAM_VALUE | 2 | qtd_list | 7401800894766051328 |
| PARAM_VALUE | 2 | qtd_list->next | 7401800894766051328 |
| PARAM_VALUE | 2 | qtd_list->prev | 4096-ptr_max |
| CAPPED_DATA | 1 | urb->interval | 1 |
| CAPPED_DATA | 1 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 3 | mem_flags | $2 |
| FUZZY_MAX | 1 | urb->transfer_buffer_length | 4096 |
| NO_OVERFLOW_SIMPLE | 1 | urb->main->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |