Defined in 2 files as a prototype:
- drivers/usb/fotg210/fotg210-hcd.c, line 981 (as a prototype)
- drivers/usb/host/ehci-hcd.c, line 302 (as a prototype)
Defined in 2 files as a function:
- drivers/usb/fotg210/fotg210-hcd.c, line 3589 (as a function)
- drivers/usb/host/ehci-sched.c, line 648 (as a function)
Referenced in 4 files:
- drivers/usb/fotg210/fotg210-hcd.c
- drivers/usb/host/ehci-hcd.c
- drivers/usb/host/ehci-sched.c, line 988
- drivers/usb/host/ehci-timer.c, line 232
Smatch caller information:
drivers/usb/host/ehci-hcd.c ehci_endpoint_disable() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->hw | 1-u64max |
| PARAM_VALUE | 1 | qh->qh_state | 1 |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| CAPPED_DATA | 1 | &qh->qtd_list | 1 |
| BIT_INFO | 1 | qh->unlink_reason | 0x20,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | &udev->dev.mutex | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c ehci_endpoint_reset() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->ps.udev | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->qtd_list.next | 4096-ptr_max |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| CAPPED_DATA | 1 | &qh->qtd_list | 1 |
| PARAM_COMPARE | 1 | &qh->qtd_list | == $1->qtd_list.next |
| BIT_INFO | 1 | qh->unlink_reason | 0x20,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | &udev->dev.mutex | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c ehci_handle_start_intr_unlinks() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->unlink_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->unlink_node.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | &fotg210->intr_unlink_wait | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PARAM_COMPARE | 0 | &fotg210->intr_unlink_wait | != $0->intr_unlink_wait.next |
| BIT_INFO | 1 | qh->unlink_reason | 0x10,0xff |
| 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 ehci_urb_dequeue() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->qh_state | 1 |
| BUF_SIZE | 1 | qh | 8-s32max |
| BUF_SIZE | 1 | qh | 8-s32max |
| BIT_INFO | 1 | qh->unlink_reason | 0x20,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ehci_hcd)->lock |
drivers/usb/host/ehci-hcd.c scan_intr() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->need_rescan | 0 |
| PARAM_VALUE | 0 | fotg210->qh_scan_next | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->scanning | 1 |
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->dequeue_during_giveback | 0 |
| CAPPED_DATA | 0 | &fotg210->intr_qh_list | 1 |
| CAPPED_DATA | 1 | &qh->intr_node | 1 |
| CAPPED_DATA | 1 | &qh->qtd_list | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PARAM_COMPARE | 1 | &qh->qtd_list | != $1->qtd_list.next |
| 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/fotg210/fotg210-hcd.c fotg210_endpoint_reset() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->qh_state | 1,5 |
| PARAM_VALUE | 1 | qh->qtd_list.next | 4096-ptr_max |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| BUF_SIZE | 1 | qh | 40,48,56,80,104,128,152,384 |
| CAPPED_DATA | 1 | &qh->qtd_list | 1 |
| FUZZY_MAX | 1 | qh->qh_state | 5 |
| PARAM_COMPARE | 1 | &qh->qtd_list | == $1->qtd_list.next |
| BIT_INFO | 1 | qh->qh_state | 0x1,0x5 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &fotg210->lock | |
| HALF_LOCKED2 | &udev->dev.mutex | ||
| TYPE_LOCK | (struct fotg210_hcd)->lock |
drivers/usb/fotg210/fotg210-hcd.c fotg210_urb_dequeue() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->qh_state | 1,5 |
| BUF_SIZE | 1 | qh | 8-s32max |
| BUF_SIZE | 1 | qh | 8-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| 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 scan_intr() -> start_unlink_intr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fotg210 | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->need_rescan | 0 |
| PARAM_VALUE | 0 | fotg210->qh_scan_next | 4096-ptr_max |
| PARAM_VALUE | 0 | fotg210->scanning | 1 |
| PARAM_VALUE | 1 | qh | 4096-ptr_max |
| PARAM_VALUE | 1 | qh->needs_rescan | 0-1 |
| CAPPED_DATA | 0 | &fotg210->intr_qh_list | 1 |
| CAPPED_DATA | 1 | &qh->intr_node | 1 |
| CAPPED_DATA | 1 | &qh->qtd_list | 1 |
| DATA_SOURCE | 0 | fotg210 | $0 |
| PARAM_COMPARE | 1 | &qh->qtd_list | != $1->qtd_list.next |
| 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 |