Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/storage/shuttle_usbat.c init_usbat() -> usbat_get_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| BUF_SIZE | 0 | us->extra | 48 |
| BUF_SIZE | 0 | us->protocol_name | (-1),17,36 |
| BUF_SIZE | 0 | us->transport_name | (-1),7-8,11-12,14-15,18,20,25,28 |
| CAPPED_DATA | 0 | us->pusb_intf->cur_altsetting->desc.bNumEndpoints | 1 |
| DATA_SOURCE | 0 | us | $0 |
| STR_LEN | 0 | us->protocol_name | (-1),16,35 |
| STR_LEN | 0 | us->transport_name | (-1),6-7,10-11,13-14,17,19,24,27 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/storage/shuttle_usbat.c usbat_multiple_write() -> usbat_get_device_type()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |