Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/usb/core/hcd.c, line 2642
- drivers/usb/gadget/udc/dummy_hcd.c, line 2727
- drivers/usb/host/xhci-histb.c, line 257
- drivers/usb/host/xhci-mtk.c, line 644
- drivers/usb/host/xhci-pci.c, line 644
- drivers/usb/host/xhci-tegra.c, line 1888
- drivers/usb/usbip/vhci_hcd.c, line 1394
Smatch caller information:
drivers/usb/gadget/udc/dummy_hcd.c dummy_hcd_probe() -> usb_create_shared_hcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 4795171653326917632 |
| PARAM_VALUE | 0 | driver->flags | 68 |
| PARAM_VALUE | 0 | driver->hcd_priv_size | 0-3998904,18446744073709550520-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd | 4096-ptr_max |
| BUF_SIZE | 2 | bus_name | 1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-s32max |
| DATA_SOURCE | 3 | primary_hcd | r usb_create_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-mtk.c xhci_mtk_probe() -> usb_create_shared_hcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 4895361602055753728 |
| PARAM_VALUE | 0 | driver->hcd_priv_size | 0-3998904,18446744073709550520-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dma_ops->dma_supported | 0,5,527,50235921770707435,2528523692154392576,3617072262637035520,5023592177070743552 |
| PARAM_VALUE | 1 | dev->dma_ops->map_phys | 0,6,632,48484213451719352,2506261230157742080,4169194063996235776,4848421345171935232 |
| PARAM_VALUE | 1 | dev->dma_ops->map_sg | 0,6,663,58722010135957667,2118452656510775296,2518538481676259328,5872201013595766784 |
| PARAM_VALUE | 1 | dev->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 1 | dev->dma_ops->unmap_phys | 0,7,775,62571895156780032,3634718672199266304,5690836758666383360,6257189515678003200 |
| PARAM_VALUE | 1 | dev->dma_ops->unmap_sg | 0,8,892,86767622481470668,1256335292805263360,8472845699660435456,8676762248147066880 |
| PARAM_VALUE | 1 | dev->dma_parms | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->dma_parms->max_segment_size | u32max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | dev->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 1 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.autosuspend_delay | 4000 |
| PARAM_VALUE | 1 | dev->power.can_wakeup | 1 |
| PARAM_VALUE | 1 | dev->power.last_status | (-1) |
| PARAM_VALUE | 1 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 1 | dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 1 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd | 4096-ptr_max |
| BUF_SIZE | 0 | driver | 376 |
| BUF_SIZE | 1 | dev | 1616 |
| BUF_SIZE | 2 | bus_name | 1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-s32max |
| CAPPED_DATA | 3 | primary_hcd | 1 |
| DATA_SOURCE | 3 | primary_hcd | r usb_create_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/usbip/vhci_hcd.c vhci_hcd_probe() -> usb_create_shared_hcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 5058857731063275520 |
| PARAM_VALUE | 0 | driver->hcd_priv_size | 0-3998904,18446744073709550520-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd | 4096-ptr_max |
| BUF_SIZE | 2 | bus_name | 1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-s32max |
| DATA_SOURCE | 3 | primary_hcd | r usb_create_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-histb.c xhci_histb_probe() -> usb_create_shared_hcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 7280956511344513024 |
| PARAM_VALUE | 0 | driver->hcd_priv_size | 0-3998904,18446744073709550520-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.async_suspend | 1 |
| PARAM_VALUE | 1 | dev->power.last_status | (-1) |
| PARAM_VALUE | 1 | dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd | 4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd->regs | 4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd->self.controller | 4096-ptr_max |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->dma_supported | 0,5,527,50235921770707435,2528523692154392576,3617072262637035520,5023592177070743552,5276104885786021888 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->map_phys | 0,6,632,48484213451719352,2506261230157742080,4169194063996235776,4848421345171935232,6326163439792029696 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->map_sg | 0,6,663,58722010135957667,2118452656510775296,2518538481676259328,5872201013595766784,6630017431831871488 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->mmap | 0,5761417605877342208,7694740394750603264 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->unmap_phys | 0,7,775,62571895156780032,3634718672199266304,5690836758666383360,6257189515678003200,7756707427785986048 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->dma_ops->unmap_sg | 0,8,892,86767622481470668,1256335292805263360,8472845699660435456,8676762248147066880,8920167536469053440 |
| PARAM_VALUE | 3 | primary_hcd->self.controller->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | driver | 376 |
| BUF_SIZE | 1 | dev | 1616 |
| BUF_SIZE | 2 | bus_name | 1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-s32max |
| CAPPED_DATA | 3 | primary_hcd | 1 |
| CAPPED_DATA | 3 | primary_hcd->primary_hcd | 1 |
| DATA_SOURCE | 3 | primary_hcd | r usb_create_hcd |
| PARAM_COMPARE | 3 | primary_hcd | >= $3->primary_hcd |
| PARAM_COMPARE | 3 | primary_hcd | >= $3->primary_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/host/xhci-pci.c xhci_pci_common_probe() -> usb_create_shared_hcd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | driver | 8542611955729661952 |
| PARAM_VALUE | 0 | driver->hcd_priv_size | 0-3998904,18446744073709550520-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 3 | primary_hcd | 4096-ptr_max |
| BUF_SIZE | 2 | bus_name | 1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | primary_hcd | s32min-(-2),1-s32max |
| CAPPED_DATA | 3 | primary_hcd | 1 |
| CAPPED_DATA | 3 | primary_hcd->primary_hcd | 1 |
| PARAM_COMPARE | 3 | primary_hcd | >= $3->primary_hcd |
| PARAM_COMPARE | 3 | primary_hcd | >= $3->primary_hcd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | primary_hcd | unit_byte |
| HALF_LOCKED2 | &dev->dev.mutex |