Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/gadget/udc/cdns2/cdns2-gadget.c cdns2_gadget_ep_queue() -> cdns2_gadget_ep_alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 1 gfp_flags 2080
BUF_SIZE 0 ep (-1),64,72,640,1744
BUF_SIZE 0 ep (-1),64,72,640,1744
DATA_SOURCE 0 ep $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &pdev->lock
LOCK2 flags
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct cdns2_device)->lock

drivers/usb/gadget/udc/core.c usb_ep_alloc_request() -> (struct usb_ep_ops)->alloc_request()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ops 4096-ptr_max
PARAM_VALUE 1 gfp_flags 2080,3264
BUF_SIZE 0 ep (-1),72
BUF_SIZE 0 ep (-1),72
BUF_SIZE 0 ep->desc (-1),9
BUF_SIZE 0 ep->driver_data (-1),128,336
DATA_SOURCE 0 ep $0
DATA_SOURCE 1 gfp_flags $1
CONTAINER 0 -24-16+0 $(-1)
HARD_MAX 1 gfp_flags 3264
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ep->address 0-255[u]
USER_DATA 0 ep->desc->bDescriptorType 0-255
USER_DATA 0 ep->desc->bEndpointAddress 0-255
USER_DATA 0 ep->desc->bInterval 0-255
USER_DATA 0 ep->desc->bLength 0-255
USER_DATA 0 ep->desc->bRefresh 0-255
USER_DATA 0 ep->desc->bSynchAddress 0-255
USER_DATA 0 ep->desc->bmAttributes 0-255
USER_DATA 0 ep->desc->wMaxPacketSize 0-u16max
NO_OVERFLOW_SIMPLE 0 ep->num
USER_PTR 0 ep->desc
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->req_lock
HALF_LOCKED2 &epdata->dev->lock
HALF_LOCKED2 &epdata->lock
HALF_LOCKED2 &epfile->ffs->eps_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 dmabuf->resv
HALF_LOCKED2 flags
HALF_LOCKED2 irq