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.c xhci_alloc_dev() -> xhci_queue_slot_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->done | 0 |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->status | 0 |
| PARAM_VALUE | 1 | cmd->timeout_ms | 5000 |
| PARAM_VALUE | 2 | trb_type | 9 |
| PARAM_VALUE | 3 | slot_id | 0 |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| DATA_SOURCE | 1 | cmd | r xhci_alloc_command |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci.c xhci_disable_slot() -> xhci_queue_slot_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->op_regs | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->cmd_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->done | 0 |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | cmd->completion->wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->completion->wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd->status | 0 |
| PARAM_VALUE | 1 | cmd->timeout_ms | 5000 |
| PARAM_VALUE | 2 | trb_type | 10 |
| BUF_SIZE | 1 | cmd | 64 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | cmd | r xhci_alloc_command |
| DATA_SOURCE | 3 | slot_id | $1 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffc |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |