Defined in 2 files as a function:
- drivers/usb/host/ehci-mem.c, line 25 (as a function)
- drivers/usb/host/oxu210hp-hcd.c, line 951 (as a function)
Referenced in 3 files:
- drivers/usb/host/ehci-mem.c, line 43
- drivers/usb/host/ehci-q.c, line 1077
- drivers/usb/host/oxu210hp-hcd.c, line 1993
Smatch caller information:
drivers/usb/host/ehci-hcd.c ehci_qtd_alloc() -> ehci_qtd_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| PARAM_VALUE | 0 | ehci->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ehci->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ehci->qtd_pool->size | 0-s32max |
| PARAM_VALUE | 1 | qtd | 4096-ptr_max |
| BUF_SIZE | 0 | ehci->async | (-1),144 |
| BUF_SIZE | 0 | ehci->itd_pool | (-1),192 |
| BUF_SIZE | 0 | ehci->periodic | (-1),2048,4096 |
| BUF_SIZE | 0 | ehci->qh_pool | (-1),192 |
| BUF_SIZE | 0 | ehci->qtd_pool | (-1),192 |
| BUF_SIZE | 0 | ehci->sitd_pool | (-1),192 |
| CAPPED_DATA | 0 | ehci->qtd_pool->size | 1 |
| DATA_SOURCE | 0 | ehci | $0 |
| DATA_SOURCE | 1 | qtd | r dma_pool_alloc |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ehci->qh_pool->allocation | |
| NO_OVERFLOW_SIMPLE | 0 | ehci->qtd_pool->allocation | |
| HALF_LOCKED2 | 0 | &ehci->lock |
drivers/usb/host/ehci-hcd.c qh_append_tds() -> ehci_qtd_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 4096-ptr_max |
| PARAM_VALUE | 0 | ehci->qtd_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | ehci->qtd_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | ehci->qtd_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ehci->qtd_pool->size | 0-s32max |
| PARAM_VALUE | 1 | qtd | 3175768196387033024,7851192674449530816,8564460595337195456 |
| PARAM_VALUE | 1 | qtd->hw_token | 64 |
| CAPPED_DATA | 0 | ehci->qtd_pool->size | 1 |
| DATA_SOURCE | 0 | ehci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &ehci->lock | |
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c qh_append_tds() -> ehci_qtd_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ehci | 1188582182303162304,7401800894766051264 |
| PARAM_VALUE | 0 | ehci->hw_token | 64 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &oxu->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |