Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xhci-ring.c handle_cmd_completion() -> inc_deq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue | 1-u64max |
| PARAM_VALUE | 0 | xhci->cmd_ring->dequeue->generic.field | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->deq_seg | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->dequeue | 1-u64max |
| PARAM_VALUE | 1 | ring->dequeue->generic.field | 4096-ptr_max |
| CAPPED_DATA | 0 | xhci->cmd_ring | 1 |
| CAPPED_DATA | 0 | xhci->cmd_ring->deq_seg->trbs | 1 |
| CAPPED_DATA | 0 | xhci->cmd_ring->dequeue | 1 |
| CAPPED_DATA | 0 | &xhci->cmd_list | 1 |
| CAPPED_DATA | 1 | ring | 1 |
| CAPPED_DATA | 1 | ring->deq_seg->trbs | 1 |
| CAPPED_DATA | 1 | ring->dequeue | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xhci->segment_pool->allocation | |
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_dequeue_td() -> inc_deq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | xhci->max_slots | 1-255 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | ring | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci-ring.c xhci_handle_events() -> inc_deq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->cycle_state | 0-1 |
| PARAM_VALUE | 1 | ring->dequeue | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->cycle_state | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | xhci->segment_pool->allocation | |
| LOCK2 | 0 | &xhci->lock | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct xhci_hcd)->lock |