Defined in 2 files as a prototype:
- drivers/usb/fotg210/fotg210-hcd.c, line 978 (as a prototype)
- drivers/usb/host/ehci-hcd.c, line 299 (as a prototype)
Defined in 3 files as a function:
- drivers/usb/fotg210/fotg210-hcd.c, line 3120 (as a function)
- drivers/usb/host/ehci-q.c, line 1308 (as a function)
- drivers/usb/host/oxu210hp-hcd.c, line 2058 (as a function)
Referenced in 4 files:
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/host/ehci-q.c
- drivers/usb/host/ehci-timer.c
- drivers/usb/host/oxu210hp-hcd.c
Smatch caller information:
drivers/usb/host/ehci-hcd.c ehci_handle_controller_death() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 0 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c end_iaa_cycle() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->iaa_in_progress | 0 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 1-u32max |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c start_iaa_cycle() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 0-1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->rh_state | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &fotg210->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_handle_controller_death() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 0 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_iaa_watchdog() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async_iaa | 1-u64max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-9,99 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 2 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 99 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_irq() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async_iaa | 1-u64max |
| PARAM_VALUE | 0 | fotg210->enabled_hrtimer_events | 0-4294967231 |
| PARAM_VALUE | 0 | fotg210->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-5,7-u32max |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->rh_state | 1-u32max |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 7 |
| BIT_INFO | 0 | fotg210->enabled_hrtimer_events | 0x0,0xffffffbf |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c start_iaa_cycle() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async_iaa | 1-u64max |
| PARAM_VALUE | 0 | fotg210->async_unlink | 0 |
| PARAM_VALUE | 0 | fotg210->async_unlinking | 0 |
| PARAM_VALUE | 0 | fotg210->rh_state | 0-1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| FUZZY_MAX | 0 | fotg210->rh_state | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c ehci_work() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->reclaim_ready | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->actions | 0-u64max |
| HOST_DATA | 0 | fotg210->bus_suspended | 0-u64max |
| HOST_DATA | 0 | fotg210->command | 0-u32max |
| HOST_DATA | 0 | fotg210->companion_ports | 0-u64max |
| HOST_DATA | 0 | fotg210->hcs_params | 0-u32max |
| HOST_DATA | 0 | fotg210->i_thresh | 0-u32max |
| HOST_DATA | 0 | fotg210->is_otg | 0-1 |
| HOST_DATA | 0 | fotg210->next_statechange | 0-u64max |
| HOST_DATA | 0 | fotg210->next_uframe | s32min-s32max |
| HOST_DATA | 0 | fotg210->periodic_dma | 0-u64max |
| HOST_DATA | 0 | fotg210->periodic_sched | 0-u32max |
| HOST_DATA | 0 | fotg210->periodic_size | 0-u32max |
| HOST_DATA | 0 | fotg210->reclaim_ready | 1 |
| HOST_DATA | 0 | fotg210->sbrn | 0-255 |
| HOST_DATA | 0 | fotg210->scanning | 0-1 |
| HOST_DATA | 0 | fotg210->stamp | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_len | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_timer.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->urb_timer.flags | 0-u32max |
| HOST_DATA | 0 | fotg210->watchdog.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->watchdog.flags | 0-u32max |
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct oxu_hcd)->lock |
drivers/usb/host/oxu210hp-hcd.c start_unlink_async() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async->qh_next.qh->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | fotg210->reclaim | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->reclaim->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | fotg210->regs | 4096-ptr_max |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->db_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qtd_used | 0-255 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->actions | 0-u64max |
| HOST_DATA | 0 | fotg210->bus_suspended | 0-u64max |
| HOST_DATA | 0 | fotg210->command | 0-u32max |
| HOST_DATA | 0 | fotg210->companion_ports | 0-u64max |
| HOST_DATA | 0 | fotg210->hcs_params | 0-u32max |
| HOST_DATA | 0 | fotg210->i_thresh | 0-u32max |
| HOST_DATA | 0 | fotg210->is_otg | 0-1 |
| HOST_DATA | 0 | fotg210->next_statechange | 0-u64max |
| HOST_DATA | 0 | fotg210->next_uframe | s32min-s32max |
| HOST_DATA | 0 | fotg210->periodic_dma | 0-u64max |
| HOST_DATA | 0 | fotg210->periodic_sched | 0-u32max |
| HOST_DATA | 0 | fotg210->periodic_size | 0-u32max |
| HOST_DATA | 0 | fotg210->reclaim_ready | 0 |
| HOST_DATA | 0 | fotg210->sbrn | 0-255 |
| HOST_DATA | 0 | fotg210->scanning | 0-1 |
| HOST_DATA | 0 | fotg210->stamp | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_len | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_timer.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->urb_timer.flags | 0-u32max |
| HOST_DATA | 0 | fotg210->watchdog.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->watchdog.flags | 0-u32max |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &fotg210->lock |
drivers/usb/host/oxu210hp-hcd.c unlink_async() -> end_unlink_async()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->async->qh_next.qh->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | fotg210->reclaim | 1-u64max |
| PARAM_VALUE | 0 | fotg210->reclaim->dummy->qtd_buffer_len | 0,512-2048 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->db_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qh_used | 0-255 |
| PARAM_VALUE | 0 | *fotg210->reclaim->oxu->qtd_used | 0-255 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | fotg210->actions | 0-u64max |
| HOST_DATA | 0 | fotg210->bus_suspended | 0-u64max |
| HOST_DATA | 0 | fotg210->command | 0-u32max |
| HOST_DATA | 0 | fotg210->companion_ports | 0-u64max |
| HOST_DATA | 0 | fotg210->hcs_params | 0-u32max |
| HOST_DATA | 0 | fotg210->i_thresh | 0-u32max |
| HOST_DATA | 0 | fotg210->is_otg | 0-1 |
| HOST_DATA | 0 | fotg210->next_statechange | 0-u64max |
| HOST_DATA | 0 | fotg210->next_uframe | s32min-s32max |
| HOST_DATA | 0 | fotg210->periodic_dma | 0-u64max |
| HOST_DATA | 0 | fotg210->periodic_sched | 0-u32max |
| HOST_DATA | 0 | fotg210->periodic_size | 0-u32max |
| HOST_DATA | 0 | fotg210->reclaim_ready | 0 |
| HOST_DATA | 0 | fotg210->sbrn | 0-255 |
| HOST_DATA | 0 | fotg210->scanning | 0-1 |
| HOST_DATA | 0 | fotg210->stamp | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_len | 0-u32max |
| HOST_DATA | 0 | fotg210->urb_timer.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->urb_timer.flags | 0-u32max |
| HOST_DATA | 0 | fotg210->watchdog.expires | 0-u64max |
| HOST_DATA | 0 | fotg210->watchdog.flags | 0-u32max |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &fotg210->lock |
drivers/usb/host/ehci-hcd.c ehci_hrtimer_func() -> event_handlers[]()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-11,99 |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 99 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_hrtimer_func() -> event_handlers[]()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->hr_timeouts | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->next_hrtimer_event | 0-9,99 |
| FUZZY_MAX | 0 | fotg210->next_hrtimer_event | 99 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |