Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/usb/gadget/udc/core.c, line 192 (as a function)
- include/linux/usb/gadget.h, line 272 (as a function)
Referenced in 29 files:
- drivers/usb/chipidea/udc.c
- drivers/usb/gadget/composite.c
- drivers/usb/gadget/function/f_ecm.c, line 756
- drivers/usb/gadget/function/f_eem.c, line 447
- drivers/usb/gadget/function/f_fs.c
- drivers/usb/gadget/function/f_hid.c, line 1154
- drivers/usb/gadget/function/f_loopback.c, line 324
- drivers/usb/gadget/function/f_mass_storage.c, line 2301
- drivers/usb/gadget/function/f_ncm.c, line 1530
- drivers/usb/gadget/function/f_phonet.c
- drivers/usb/gadget/function/f_printer.c, line 240
- drivers/usb/gadget/function/f_rndis.c, line 748
- drivers/usb/gadget/function/f_tcm.c
- drivers/usb/gadget/function/f_uac1.c, line 448
- drivers/usb/gadget/function/f_uac1_legacy.c, line 647
- drivers/usb/gadget/function/f_uac2.c, line 1385
- drivers/usb/gadget/function/f_uvc.c, line 857
- drivers/usb/gadget/function/u_audio.c
- drivers/usb/gadget/function/u_ether.c, line 331
- drivers/usb/gadget/function/u_serial.c, line 173
- drivers/usb/gadget/function/uvc_video.c, line 574
- drivers/usb/gadget/legacy/dbgp.c
- drivers/usb/gadget/legacy/inode.c
- drivers/usb/gadget/legacy/raw_gadget.c
- drivers/usb/gadget/u_f.c, line 18
- drivers/usb/gadget/udc/core.c, line 206
- drivers/usb/gadget/udc/trace.h, line 264
- drivers/usb/renesas_usbhs/mod_gadget.c, line 321
- net/9p/trans_usbg.c, line 302
Smatch caller information:
drivers/usb/renesas_usbhs/mod_gadget.c __usbhsg_recip_send_status() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/u_ether.c prealloc() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->enabled | 1 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| DATA_SOURCE | 0 | ep | $1 |
| LOCK2 | &dev->req_lock | ||
| TYPE_LOCK | (struct eth_dev)->req_lock |
drivers/usb/gadget/function/f_mass_storage.c alloc_request() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| BUF_SIZE | 0 | ep->driver_data | 128 |
| CAPPED_DATA | 0 | ep->address | 1 |
| DATA_SOURCE | 0 | ep | $1 |
drivers/usb/gadget/function/f_rndis.c rndis_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | r usb_ep_autoconfig |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
| NO_OVERFLOW_SIMPLE | 0 | ep->num | |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_uac1_legacy.c f_audio_set_alt() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/legacy/inode.c activate_ep_files() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep->driver_data | 336 |
| CAPPED_DATA | 0 | &ep->ep_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/inode.c ep_aio() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 1-u64max |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &epdata->dev->lock | ||
| LOCK2 | &epdata->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dev_data)->lock | ||
| TYPE_LOCK | (struct ep_data)->lock |
drivers/usb/gadget/legacy/inode.c gadgetfs_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/raw_gadget.c gadget_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/raw_gadget.c raw_ioctl_ep_enable() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 0 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| BUF_SIZE | 0 | ep->desc | 9 |
| 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 |
| USER_PTR | 0 | ep->desc | |
| LOCK2 | &dev->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct raw_dev)->lock |
drivers/usb/chipidea/udc.c isr_get_status_response() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ci->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct ci_hdrc)->lock |
drivers/usb/chipidea/udc.c isr_reset_handler() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &sw->lock |
drivers/usb/gadget/function/f_loopback.c alloc_requests() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/function/f_phonet.c pn_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
drivers/usb/gadget/function/f_phonet.c pn_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
drivers/usb/gadget/function/f_eem.c eem_unwrap() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct eth_dev)->lock |
drivers/usb/gadget/function/f_ecm.c ecm_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | r usb_ep_autoconfig |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
| NO_OVERFLOW_SIMPLE | 0 | ep->num | |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/f_printer.c printer_req_alloc() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | gfp_flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
drivers/usb/gadget/function/u_audio.c u_audio_start_capture() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/function/u_audio.c u_audio_start_capture() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/function/u_audio.c u_audio_start_playback() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/function/f_uac1.c audio_notify() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->enabled | 1 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/function/f_uac2.c afunc_notify() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->enabled | 1 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &card->controls_rwsem | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/function/f_tcm.c bot_prepare_reqs() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c bot_prepare_reqs() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c bot_prepare_reqs() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c bot_prepare_reqs() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c uasp_alloc_cmd() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c uasp_alloc_stream_res() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c uasp_alloc_stream_res() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/f_tcm.c uasp_alloc_stream_res() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/u_f.c alloc_ep_req() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| DATA_SOURCE | 0 | ep | $0 |
drivers/usb/gadget/function/f_ncm.c ncm_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | r usb_ep_autoconfig |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
| NO_OVERFLOW_SIMPLE | 0 | ep->num | |
| LOCK2 | _T->lock |
drivers/usb/gadget/function/uvc_video.c uvc_video_alloc_requests() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| HALF_LOCKED2 | lock | ||
| HALF_LOCKED2 | req_queue_lock |
drivers/usb/gadget/function/f_hid.c hidg_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/u_serial.c gs_alloc_req() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 2080,3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | gfp_flags | $2 |
| HARD_MAX | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
| NO_OVERFLOW_SIMPLE | 0 | ep->num | |
| HALF_LOCKED2 | &port->port_lock |
drivers/usb/gadget/function/f_fs.c __ffs_func_bind_do_descs() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->claimed | 1 |
| PARAM_VALUE | 0 | ep->comp_desc | 0 |
| PARAM_VALUE | 0 | ep->desc | 0 |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->name | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| BUF_SIZE | 0 | ep | (-1),72 |
| BUF_SIZE | 0 | ep | (-1),72 |
| DATA_SOURCE | 0 | ep | r usb_ep_autoconfig |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ep->address | 0-255[u] |
| NO_OVERFLOW_SIMPLE | 0 | ep->num |
drivers/usb/gadget/function/f_fs.c ffs_dmabuf_transfer() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| LOCK2 | &epfile->ffs->eps_lock | ||
| LOCK2 | dmabuf->resv | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct ffs_data)->eps_lock |
drivers/usb/gadget/function/f_fs.c ffs_epfile_io() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &epfile->ffs->eps_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &epfile->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ffs_data)->eps_lock |
drivers/usb/gadget/function/f_fs.c functionfs_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_uvc.c uvc_function_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/usb/gadget/composite.c composite_dev_prepare() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/composite.c composite_os_desc_req_prepare() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| DATA_SOURCE | 0 | ep | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/9p/trans_usbg.c alloc_requests() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ep->comp_desc->bDescriptorType | 48 |
| PARAM_VALUE | 0 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ep->enabled | 1 |
| PARAM_VALUE | 0 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 1 | gfp_flags | 2080 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/legacy/dbgp.c dbgp_bind() -> usb_ep_alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |