Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/usb/chipidea/host.c, line 449
- drivers/usb/core/hcd.c
- drivers/usb/dwc2/hcd.c, line 2522
- drivers/usb/host/octeon-hcd.c, line 496
- drivers/usb/host/xhci.c, line 1424
- drivers/usb/musb/musb_host.c
Smatch caller information:
drivers/usb/chipidea/host.c ci_hdrc_map_urb_for_dma() -> usb_hcd_map_urb_for_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->map_urb_for_dma | 1-u64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| BUF_SIZE | 1 | urb->context | (-1),96 |
| BUF_SIZE | 1 | urb->ep | (-1),88 |
| BUF_SIZE | 1 | urb->setup_packet | (-1),8 |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),18 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | mem_flags | $2 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |
drivers/usb/dwc2/hcd.c dwc2_map_urb_for_dma() -> usb_hcd_map_urb_for_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->map_urb_for_dma | 1-u64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| BUF_SIZE | 1 | urb->context | (-1),96 |
| BUF_SIZE | 1 | urb->ep | (-1),88 |
| BUF_SIZE | 1 | urb->setup_packet | (-1),8 |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),18 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | mem_flags | $2 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |
drivers/usb/host/xhci.c xhci_map_urb_for_dma() -> usb_hcd_map_urb_for_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->map_urb_for_dma | 1-u64max |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| BUF_SIZE | 1 | urb->context | (-1),96 |
| BUF_SIZE | 1 | urb->ep | (-1),88 |
| BUF_SIZE | 1 | urb->setup_packet | (-1),8 |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),18 |
| CAPPED_DATA | 0 | hcd | 1 |
| CAPPED_DATA | 0 | hcd->primary_hcd | 1 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | mem_flags | $2 |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| PARAM_COMPARE | 0 | hcd | >= $0->primary_hcd |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |
drivers/usb/core/hcd.c map_urb_for_dma() -> usb_hcd_map_urb_for_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hcd | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | hcd->driver->map_urb_for_dma | 0 |
| PARAM_VALUE | 1 | urb | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->actual_length | 0 |
| PARAM_VALUE | 1 | urb->complete | 1-u64max |
| PARAM_VALUE | 1 | urb->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->ep | 4096-ptr_max |
| PARAM_VALUE | 1 | urb->status | (-115) |
| PARAM_VALUE | 1 | urb->transfer_buffer_length | 0-s32max |
| BUF_SIZE | 1 | urb->context | (-1),96 |
| BUF_SIZE | 1 | urb->ep | (-1),88 |
| BUF_SIZE | 1 | urb->setup_packet | (-1),8 |
| BUF_SIZE | 1 | urb->transfer_buffer | (-1),18 |
| DATA_SOURCE | 0 | hcd | $0 |
| DATA_SOURCE | 1 | urb | $1 |
| DATA_SOURCE | 2 | mem_flags | $2 |
| RX_PATH | |||
| NO_OVERFLOW_SIMPLE | 1 | urb->num_mapped_sgs |