Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/mtu3/mtu3_gadget_ep0.c ep0_set_sel_complete() -> to_mtu3_request()

Type Parameter Key Value
PARAM_VALUE 0 req 4096-ptr_max
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req->buf (-1)-1000000000,2147479552
BUF_SIZE 0 req->context (-1),96
DATA_SOURCE 0 req $1
NOSPEC 0 req->actual
NOSPEC 0 req->length
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->actual 0-u32max[c]
HOST_DATA 0 req->frame_number 0-16383[c]
HOST_DATA 0 req->length 0-64[c]
HOST_DATA 0 req->zero 0-1
USER_DATA 0 req->actual 0-64
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_DATA 0 *req->buf s64min-s64max
NO_OVERFLOW_SIMPLE 0 req->dma
NO_OVERFLOW_SIMPLE 0 req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 0 req->status
USER_PTR 0 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/mtu3/mtu3_gadget_ep0.c mtu3_ep0_queue() -> to_mtu3_request()

Type Parameter Key Value
PARAM_VALUE 0 req 1-u64max
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req s32min,(-1)-s32max
DATA_SOURCE 0 req $1
NOSPEC 0 req->actual
NOSPEC 0 req->length
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->actual 0-u32max[c]
HOST_DATA 0 req->frame_number 0-16383[c]
HOST_DATA 0 req->length 0-u32max[c]
HOST_DATA 0 req->zero 0-1
USER_DATA 0 req->actual 0-64[c]
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_DATA 0 *req->buf s64min-s64max
NO_OVERFLOW_SIMPLE 0 req->dma
NO_OVERFLOW_SIMPLE 0 req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 0 req->status
USER_PTR 0 req->buf
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 flags

drivers/usb/mtu3/mtu3_gadget.c mtu3_free_request() -> to_mtu3_request()

Type Parameter Key Value
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req->buf (-1)-s32max
BUF_SIZE 0 req->context (-1),16,96,104
BUF_SIZE 0 req->ep (-1),72
DATA_SOURCE 0 req $1
NOSPEC 0 req->actual
NOSPEC 0 req->length
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->actual 0-u32max[c]
HOST_DATA 0 req->frame_number 0-16383[c]
HOST_DATA 0 req->length 0-u32max[c]
HOST_DATA 0 req->zero 0-1
USER_DATA 0 req->actual 0-64[c]
USER_DATA 0 req->ep->address 0-255[u]
USER_DATA 0 req->ep->desc->bDescriptorType 0-255
USER_DATA 0 req->ep->desc->bEndpointAddress 0-255
USER_DATA 0 req->ep->desc->bInterval 0-255
USER_DATA 0 req->ep->desc->bLength 0-255
USER_DATA 0 req->ep->desc->bRefresh 0-255
USER_DATA 0 req->ep->desc->bSynchAddress 0-255
USER_DATA 0 req->ep->desc->bmAttributes 0-255
USER_DATA 0 req->ep->desc->wMaxPacketSize 0-u16max
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_DATA 0 *req->buf s64min-s64max
NO_OVERFLOW_SIMPLE 0 req->dma
NO_OVERFLOW_SIMPLE 0 req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 0 req->status
USER_PTR 0 req->buf
USER_PTR 0 req->ep->desc
HALF_LOCKED2 &ci->lock
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &dev->req_lock
HALF_LOCKED2 &ep->lock
HALF_LOCKED2 &epdata->dev->lock
HALF_LOCKED2 &epdata->lock
HALF_LOCKED2 &epfile->ffs->eps_lock
HALF_LOCKED2 &ffs->mutex
HALF_LOCKED2 &func->ffs->eps_lock
HALF_LOCKED2 &hidg->get_report_spinlock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 irq

drivers/usb/mtu3/mtu3_gadget.c mtu3_gadget_dequeue() -> to_mtu3_request()

Type Parameter Key Value
BUF_SIZE 0 req->buf (-1)-1000000000,2147479552
BUF_SIZE 0 req->context (-1),96
DATA_SOURCE 0 req $1
NOSPEC 0 req->length
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_PTR 0 req->buf
HALF_LOCKED2 &ctx->ctx_lock
HALF_LOCKED2 &epdata->dev->lock
HALF_LOCKED2 &epdata->lock
HALF_LOCKED2 &epfile->dmabufs_mutex
HALF_LOCKED2 &epfile->ffs->eps_lock
HALF_LOCKED2 &ffs->eps_lock
HALF_LOCKED2 &port->port_lock
HALF_LOCKED2 irq

drivers/usb/mtu3/mtu3_gadget.c mtu3_gadget_queue() -> to_mtu3_request()

Type Parameter Key Value
BUF_SIZE 0 req s32min,(-1)-s32max
BUF_SIZE 0 req s32min,(-1)-s32max
DATA_SOURCE 0 req $1
NOSPEC 0 req->actual
NOSPEC 0 req->length
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 req->actual 0-u32max[c]
HOST_DATA 0 req->frame_number 0-16383[c]
HOST_DATA 0 req->length 0-u32max[c]
HOST_DATA 0 req->zero 0-1
USER_DATA 0 req->actual 0-64[c]
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_DATA 0 *req->buf s64min-s64max
NO_OVERFLOW_SIMPLE 0 req->dma
NO_OVERFLOW_SIMPLE 0 req->num_mapped_sgs
NO_OVERFLOW_SIMPLE 0 req->status
USER_PTR 0 req->buf
HALF_LOCKED2 &vhub->lock
HALF_LOCKED2 flags

drivers/usb/mtu3/mtu3_gadget.c mtu3_req_complete() -> to_mtu3_request()

Type Parameter Key Value
BUF_SIZE 0 req (-1),104
BUF_SIZE 0 req (-1),104
BUF_SIZE 0 req->buf (-1)-1000000000,2147479552
BUF_SIZE 0 req->context (-1),96
DATA_SOURCE 0 req $1
NOSPEC 0 req->length
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 req->length 0-u32max
USER_DATA 0 req->zero 0-1[c]
USER_PTR 0 req->buf
LOCK2 &mtu->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct mtu3)->lock