Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/host/xhci-dbgcap.c xhci_dbc_reinit_ep_rings() -> xhci_dbc_ring_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 1-u64max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_reinit_ep_rings() -> xhci_dbc_ring_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 1-u64max |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_ring_alloc() -> xhci_dbc_ring_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->first_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->last_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->num_segs | 1 |
| PARAM_VALUE | 0 | ring->td_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->td_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->td_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->td_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->td_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->type | 2,6 |
| BUF_SIZE | 0 | ring | 96 |
| BUF_SIZE | 0 | ring->first_seg | 56 |
| BUF_SIZE | 0 | ring->last_seg | 56 |
| DATA_SOURCE | 0 | ring | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dbc->enable_mutex | ||
| LOCK2 | &dbc->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->enable_mutex | ||
| TYPE_LOCK | (struct xhci_dbc)->lock |