Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_tcm.c uasp_cmd_complete() -> usbg_submit_command()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->status 0-s32max
BUF_SIZE 0 fu (-1),96
BUF_SIZE 0 fu (-1),96
BUF_SIZE 1 req s32min,(-1)-s32max
BUF_SIZE 1 req s32min,(-1)-s32max
BUF_SIZE 1 req->buf (-1)-1000000000,2147479552
BUF_SIZE 1 req->context (-1),96
DATA_SOURCE 1 req $1
NOSPEC 1 req->actual
NOSPEC 1 req->length
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 req->actual 0-u32max[c]
HOST_DATA 1 req->frame_number 0-16383[c]
HOST_DATA 1 req->length 0-64[c]
HOST_DATA 1 req->zero 0-1
USER_DATA 1 req->actual 0-64
USER_DATA 1 req->length 0-u32max
USER_DATA 1 req->zero 0-1[c]
USER_DATA 1 *req->buf s64min-s64max
NO_OVERFLOW_SIMPLE 1 req->dma
NO_OVERFLOW_SIMPLE 1 req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 1 req->status
UNITS 0 fu unit_byte
USER_PTR 1 req->buf
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 &priv_dev->lock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 cdev_flags
HALF_LOCKED2 flags

drivers/usb/gadget/function/f_tcm.c usbg_cmd_work() -> usbg_submit_command()

Type Parameter Key Value
PARAM_VALUE 0 fu 4096-ptr_max
PARAM_VALUE 0 fu->stream_hash 4096-ptr_max
PARAM_VALUE 0 fu->tpg 4096-ptr_max
PARAM_VALUE 0 fu->tpg->tpg_nexus 4096-ptr_max
NOCHECK_CALL
UNITS 0 fu unit_byte
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/function/f_tcm.c usbg_cmd_work() -> usbg_submit_command()

Type Parameter Key Value
PARAM_VALUE 0 fu 4096-ptr_max
PARAM_VALUE 0 fu->stream_hash 4096-ptr_max
PARAM_VALUE 0 fu->tpg 4096-ptr_max
PARAM_VALUE 0 fu->tpg->tpg_nexus 4096-ptr_max
NOCHECK_CALL
UNITS 0 fu unit_byte
HALF_LOCKED2 &pool->lock