Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/host/xhci-ring.c xhci_queue_intr_tx() -> xhci_queue_bulk_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_flags | 2080 |
| PARAM_VALUE | 2 | urb | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->actual_length | 0 |
| PARAM_VALUE | 2 | urb->complete | 1-u64max |
| PARAM_VALUE | 2 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 2 | urb->dev->slot_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 2 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 2 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 2 | urb->status | (-115) |
| PARAM_VALUE | 2 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 2 | urb->transfer_flags | 64-u32max |
| PARAM_VALUE | 3 | slot_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | ep_index | 0-30,u32max |
| CAPPED_DATA | 2 | urb->dev | 1 |
| CAPPED_DATA | 2 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | xhci | $0 |
| DATA_SOURCE | 1 | mem_flags | $1 |
| DATA_SOURCE | 2 | urb | $2 |
| DATA_SOURCE | 3 | slot_id | $3 |
| DATA_SOURCE | 4 | ep_index | $4 |
| FUZZY_MAX | 2 | urb->dev->state | 7 |
| FUZZY_MAX | 2 | urb->transfer_buffer_length | 1 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffe |
| NO_OVERFLOW_SIMPLE | 2 | urb->num_mapped_sgs | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |
drivers/usb/host/xhci.c xhci_urb_enqueue() -> xhci_queue_bulk_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xhci | 4096-ptr_max |
| PARAM_VALUE | 0 | xhci->devs | 4096-ptr_max |
| PARAM_VALUE | 1 | mem_flags | 2080 |
| PARAM_VALUE | 2 | urb | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->actual_length | 0 |
| PARAM_VALUE | 2 | urb->complete | 1-u64max |
| PARAM_VALUE | 2 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->dev->bus | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->dev->parent | 1-u64max |
| PARAM_VALUE | 2 | urb->dev->slot_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | urb->dev->state | 4-u32max |
| PARAM_VALUE | 2 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->hcpriv | 4096-ptr_max |
| PARAM_VALUE | 2 | urb->interval | s32min-32768 |
| PARAM_VALUE | 2 | urb->num_mapped_sgs | 0-s32max |
| PARAM_VALUE | 2 | urb->setup_packet | 1-u64max |
| PARAM_VALUE | 2 | urb->status | (-115) |
| PARAM_VALUE | 2 | urb->transfer_buffer_length | 0-s32max |
| PARAM_VALUE | 2 | urb->transfer_flags | 64-u32max |
| PARAM_VALUE | 3 | slot_id | s32min-(-1),1-s32max |
| PARAM_VALUE | 4 | ep_index | 0-30,u32max |
| BUF_SIZE | 2 | urb->hcpriv | 8-u64max |
| CAPPED_DATA | 2 | urb->dev | 1 |
| CAPPED_DATA | 2 | urb->interval | 1 |
| CAPPED_DATA | 2 | urb->transfer_buffer_length | 1 |
| DATA_SOURCE | 0 | xhci | r hcd_to_xhci |
| DATA_SOURCE | 2 | urb | $1 |
| DATA_SOURCE | 4 | ep_index | r xhci_get_endpoint_index |
| FUZZY_MAX | 2 | urb->dev->state | 7 |
| FUZZY_MAX | 2 | urb->transfer_buffer_length | 1 |
| BIT_INFO | 0 | xhci->xhc_state | 0x0,0xfffffffe |
| BIT_INFO | 3 | slot_id | 0x0,0x7fffffff |
| LOCK2 | flags | ||
| LOCK2 | 0 | &xhci->lock | |
| TYPE_LOCK | (struct xhci_hcd)->lock |