Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/storage/protocol.c usb_stor_pad12_command() -> usb_stor_invoke_transport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | srb | 4096-ptr_max |
| PARAM_VALUE | 0 | srb->cmd_len | 12-u16max |
| PARAM_VALUE | 1 | us | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | srb | $0 |
| DATA_SOURCE | 1 | us | $1 |
| FUZZY_MAX | 0 | srb->cmd_len | 12 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | srb->sdb.table.sgl->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.entries | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.urbs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer_length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->pusb_dev->bos | |
| HALF_LOCKED2 | 1 | &us->dev_mutex |
drivers/usb/storage/protocol.c usb_stor_transparent_scsi_command() -> usb_stor_invoke_transport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | srb | 4096-ptr_max |
| PARAM_VALUE | 1 | us | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | *us->pusb_dev->toggle | 0-4294967295 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 1 | us->pusb_dev | 1 |
| DATA_SOURCE | 0 | srb | $0 |
| DATA_SOURCE | 1 | us | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | srb->sdb.table.sgl->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.entries | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.urbs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer_length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->pusb_dev->bos | |
| HALF_LOCKED2 | 1 | &us->dev_mutex |
drivers/usb/storage/protocol.c usb_stor_ufi_command() -> usb_stor_invoke_transport()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | srb | 4096-ptr_max |
| PARAM_VALUE | 0 | srb->cmd_len | 12 |
| PARAM_VALUE | 0 | srb->cmnd | 4096-ptr_max |
| PARAM_VALUE | 1 | us | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 1 | us | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | srb | $0 |
| DATA_SOURCE | 1 | us | $1 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | srb->sdb.table.sgl->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.entries | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_sg.urbs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->num_mapped_sgs | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->setup_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->sg->length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_buffer_length | |
| NO_OVERFLOW_SIMPLE | 1 | us->current_urb->transfer_dma | |
| NO_OVERFLOW_SIMPLE | 1 | us->pusb_dev->bos | |
| HALF_LOCKED2 | 1 | &us->dev_mutex |