Defined in 1 files as a prototype:

Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/usb/gadget/function/f_mass_storage.c fsg_setup() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->ep0req 4096-ptr_max
PARAM_VALUE 0 ep->ep0req->buf 4096-ptr_max
PARAM_VALUE 0 ep->ep0req->length 1
PARAM_VALUE 0 ep->fsg 1-u64max

drivers/usb/gadget/function/f_mass_storage.c handle_exception() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->buffhds 4096-ptr_max
PARAM_VALUE 0 ep->curlun->filp->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 ep->filesem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ep->filesem.first_waiter->type 0-1
PARAM_VALUE 0 ep->fsg 4096-ptr_max
PARAM_VALUE 0 ep->fsg_num_buffers 0-s32max
PARAM_VALUE 0 ep->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ep->luns 4096-ptr_max
PARAM_VALUE 0 ep->next_buffhd_to_drain 4096-ptr_max
PARAM_VALUE 0 ep->next_buffhd_to_fill 4096-ptr_max
PARAM_VALUE 0 ep->state 0
BUF_SIZE 0 ep 128
BUF_SIZE 0 ep 128
CAPPED_DATA 0 ep->ep0_req_tag 1
CAPPED_DATA 0 ep->fsg_num_buffers 1
DATA_SOURCE 0 ep $0
NOCHECK_CALL

drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_get_status() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->mtu 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->mep 4096-ptr_max
PARAM_VALUE 1 req->request.buf 4096-ptr_max
PARAM_VALUE 1 req->request.complete 1698874546538598400
PARAM_VALUE 1 req->request.length 2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mtu->lock
LOCK2 flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct mtu3)->lock

drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_set_sel() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->mtu 4096-ptr_max
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->mep 4096-ptr_max
PARAM_VALUE 1 req->request.complete 5709038276706328576
PARAM_VALUE 1 req->request.length 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mtu->lock
LOCK2 flags
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct mtu3)->lock

drivers/usb/mtu3/mtu3_gadget_ep0.c mtu3_ep0_queue() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 1 req 1-u64max
DATA_SOURCE 0 ep r to_mtu3_ep
DATA_SOURCE 1 req r to_mtu3_request
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mtu->lock
LOCK2 flags
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct mtu3)->lock

drivers/usb/gadget/udc/bdc/bdc_ep.c bdc_gadget_ep_queue() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 0 ep 4096-ptr_max
PARAM_VALUE 0 ep->bdc 4096-ptr_max
PARAM_VALUE 0 ep->bdc->bdc_ep_array 4096-ptr_max
PARAM_VALUE 0 ep->usb_ep.desc 1-u64max
PARAM_VALUE 1 req 4096-ptr_max
CAPPED_DATA 0 ep 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdc->lock
LOCK2 flags
HALF_LOCKED2 &cdev->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->lock_printer_io
HALF_LOCKED2 &epdata->dev->lock
HALF_LOCKED2 &epdata->lock
HALF_LOCKED2 &epfile->ffs->eps_lock
HALF_LOCKED2 &hidg->get_report_spinlock
HALF_LOCKED2 &midi->transmit_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &usb9pfs->lock
HALF_LOCKED2 &video->req_lock
HALF_LOCKED2 cdev_flags
HALF_LOCKED2 flags
HALF_LOCKED2 irq
TYPE_LOCK (struct bdc)->lock

drivers/usb/gadget/udc/bdc/bdc_ep.c ep0_queue_data_stage() -> ep0_queue()

Type Parameter Key Value
PARAM_VALUE 1 req 4096-ptr_max
PARAM_VALUE 1 req->usb_req.length 2,6
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bdc->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct bdc)->lock