Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/function/f_phonet.c pn_rx_complete() -> pn_rx_submit()

Type Parameter Key Value
PARAM_VALUE 0 fp 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 2 gfp_flags 2080
BUF_SIZE 0 fp s32min-(-2),1-s32max
BUF_SIZE 0 fp s32min-(-2),1-s32max
BUF_SIZE 0 fp->rx.skb (-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
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 fp unit_byte
USER_PTR 0 fp->rx.skb->data
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_phonet.c pn_set_alt() -> pn_rx_submit()

Type Parameter Key Value
PARAM_VALUE 0 fp 4096-ptr_max
PARAM_VALUE 0 fp->dev 4096-ptr_max
PARAM_VALUE 0 fp->function.config 4096-ptr_max
PARAM_VALUE 0 fp->function.config->cdev 4096-ptr_max
PARAM_VALUE 0 fp->function.config->cdev->gadget 4096-ptr_max
PARAM_VALUE 0 fp->in_ep 4096-ptr_max
PARAM_VALUE 0 fp->in_ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 fp->in_ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 fp->in_ep->desc 4096-ptr_max
PARAM_VALUE 0 fp->in_ep->driver_data 4096-ptr_max
PARAM_VALUE 0 fp->in_ep->maxpacket 0-2047
PARAM_VALUE 0 fp->out_ep 4096-ptr_max
PARAM_VALUE 0 fp->out_ep->comp_desc 0,4096-ptr_max
PARAM_VALUE 0 fp->out_ep->comp_desc->bDescriptorType 48
PARAM_VALUE 0 fp->out_ep->desc 4096-ptr_max
PARAM_VALUE 0 fp->out_ep->driver_data 4096-ptr_max
PARAM_VALUE 0 fp->out_ep->maxpacket 0-2047
PARAM_VALUE 0 fp->out_reqv 4096-ptr_max
PARAM_VALUE 2 gfp_flags 2080
CAPPED_DATA 0 fp->in_ep->address 1
CAPPED_DATA 0 fp->out_ep->address 1
DATA_SOURCE 0 fp r func_to_pn
NOCHECK_CALL
LOCK2 &port->lock
TYPE_LOCK (struct phonet_port)->lock