Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_sourcesink.c source_sink_complete() -> check_read_data()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 0 ss->function.config 4096-ptr_max
PARAM_VALUE 0 ss->out_ep 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
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
CAPPED_DATA 0 ss->out_ep 1
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 ss 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_sourcesink.c source_sink_complete() -> check_read_data()

Type Parameter Key Value
PARAM_VALUE 0 ss 4096-ptr_max
PARAM_VALUE 0 ss->function.config 4096-ptr_max
PARAM_VALUE 0 ss->out_ep 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
BUF_SIZE 0 ss s32min-(-2),1-s32max
BUF_SIZE 0 ss s32min-(-2),1-s32max
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
CAPPED_DATA 0 ss->out_ep 1
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 ss unit_byte
USER_PTR 1 req->buf
HALF_LOCKED2 &pdev->lock
HALF_LOCKED2 &priv_dev->lock
HALF_LOCKED2 &udc->lock
HALF_LOCKED2 flags