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_data_cmplt() -> uas_try_complete()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->device 4096-ptr_max
PARAM_VALUE 0 cmnd->device->hostdata 4096-ptr_max
PARAM_VALUE 1 caller 2290300017957826560
BUF_SIZE 0 cmnd s32min-(-1),1-s32max
BUF_SIZE 0 cmnd s32min-(-1),1-s32max
BUF_SIZE 1 caller 15
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 cmnd unit_byte
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct uas_dev_info)->lock

drivers/usb/storage/uas.c uas_stat_cmplt() -> uas_try_complete()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->result 0-255
PARAM_VALUE 1 caller 7970138860314861568
BUF_SIZE 1 caller 15
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct uas_dev_info)->lock

drivers/usb/storage/uas.c uas_stat_cmplt() -> uas_try_complete()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 1 caller 7970138860314861568
BUF_SIZE 1 caller 15
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct uas_dev_info)->lock

drivers/usb/storage/uas.c uas_zap_pending() -> uas_try_complete()

Type Parameter Key Value
PARAM_VALUE 0 cmnd 4096-ptr_max
PARAM_VALUE 0 cmnd->result 65536,524288
PARAM_VALUE 1 caller 804830952283160576
BUF_SIZE 1 caller 16
FUZZY_MAX 0 cmnd->result 524288
BIT_INFO 0 cmnd->result 0x0,0xf0000
HARD_MAX 0 cmnd->result 524288
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &devinfo->lock
LOCK2 flags
HALF_LOCKED2 &udev->dev.mutex
TYPE_LOCK (struct uas_dev_info)->lock