Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/storage/uas.c uas_do_work() -> uas_submit_urbs()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->device 4096-ptr_max
BUF_SIZE 1 devinfo 12,16,18,24,32,272,280,520,2064
PREEMPT_ADD <- disables preempt
UNITS 1 devinfo unit_byte
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct uas_dev_info)->lock

drivers/usb/storage/uas.c uas_queuecommand_lck() -> uas_submit_urbs()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->device 4096-ptr_max
PARAM_VALUE 0 cmnd->device->host 4096-ptr_max
PARAM_VALUE 0 cmnd->flags 0-s32max
PARAM_VALUE 0 cmnd->resid_len 0
PARAM_VALUE 0 cmnd->submitter 0-1
PARAM_VALUE 0 *cmnd->cmnd 0-255
PARAM_VALUE 1 devinfo 4096-ptr_max
PARAM_VALUE 1 devinfo->flags 33554432-u64max
PARAM_VALUE 1 devinfo->qdepth s32min-65536
PARAM_VALUE 1 devinfo->resetting 0
BUF_SIZE 1 devinfo 12,16,18,24,32,272,280,520,2064
BUF_SIZE 1 devinfo 12,16,18,24,32,272,280,520,2064
CAPPED_DATA 1 devinfo->qdepth 1
DATA_SOURCE 0 cmnd $0
FUZZY_MAX 1 devinfo->qdepth 1
HARD_MAX 0 cmnd->submitter 1
MEM_ZERO 0 cmnd->sense_buffer
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 1 devinfo unit_byte
LOCK2 flags
LOCK2 irq_flags
LOCK2 shost->host_lock
LOCK2 1 &devinfo->lock
HALF_LOCKED2 &sdev->state_mutex
TYPE_LOCK (struct uas_dev_info)->lock

drivers/usb/storage/uas.c uas_xfer_data() -> uas_submit_urbs()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->device 4096-ptr_max
BUF_SIZE 1 devinfo 12,16,18,24,32,272,280,520,2064
DATA_SOURCE 0 cmnd $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 1 devinfo unit_byte
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct uas_dev_info)->lock