Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/gpu/drm/i915/i915_overlay.c, line 72 (as a function)
- drivers/usb/gadget/function/f_mass_storage.c, line 2298 (as a function)
Referenced in 45 files:
- drivers/gpu/drm/i915/i915_overlay.c
- drivers/usb/cdns3/cdns3-ep0.c, line 796
- drivers/usb/cdns3/cdns3-gadget.c, line 2878
- drivers/usb/cdns3/cdnsp-gadget.c
- drivers/usb/chipidea/udc.c, line 1825
- drivers/usb/dwc2/gadget.c, line 4483
- drivers/usb/dwc3/gadget.c
- drivers/usb/fotg210/fotg210-udc.c, line 538
- drivers/usb/gadget/function/f_mass_storage.c
- drivers/usb/gadget/udc/aspeed-vhub/ep0.c, line 475
- drivers/usb/gadget/udc/aspeed-vhub/epn.c, line 797
- drivers/usb/gadget/udc/aspeed_udc.c, line 763
- drivers/usb/gadget/udc/at91_udc.c, line 782
- drivers/usb/gadget/udc/atmel_usba_udc.c, line 981
- drivers/usb/gadget/udc/bcm63xx_udc.c, line 1289
- drivers/usb/gadget/udc/bdc/bdc_ep.c, line 1939
- drivers/usb/gadget/udc/cdns2/cdns2-ep0.c, line 611
- drivers/usb/gadget/udc/cdns2/cdns2-gadget.c, line 1992
- drivers/usb/gadget/udc/core.c, line 197
- drivers/usb/gadget/udc/dummy_hcd.c, line 857
- drivers/usb/gadget/udc/fsl_qe_udc.c, line 1860
- drivers/usb/gadget/udc/fsl_udc_core.c, line 1118
- drivers/usb/gadget/udc/goku_udc.c, line 981
- drivers/usb/gadget/udc/gr_udc.c, line 1830
- drivers/usb/gadget/udc/lpc32xx_udc.c, line 1908
- drivers/usb/gadget/udc/m66592-udc.c, line 1440
- drivers/usb/gadget/udc/max3420_udc.c, line 1073
- drivers/usb/gadget/udc/net2280.c, line 1447
- drivers/usb/gadget/udc/omap_udc.c, line 1115
- drivers/usb/gadget/udc/pch_udc.c, line 1981
- drivers/usb/gadget/udc/pxa25x_udc.c, line 1087
- drivers/usb/gadget/udc/pxa27x_udc.c, line 1403
- drivers/usb/gadget/udc/r8a66597-udc.c, line 1710
- drivers/usb/gadget/udc/renesas_usb3.c, line 2351
- drivers/usb/gadget/udc/renesas_usbf.c, line 2167
- drivers/usb/gadget/udc/snps_udc_core.c, line 1371
- drivers/usb/gadget/udc/tegra-xudc.c
- drivers/usb/gadget/udc/udc-xilinx.c
- drivers/usb/isp1760/isp1760-udc.c, line 1113
- drivers/usb/mtu3/mtu3_gadget.c, line 422
- drivers/usb/mtu3/mtu3_gadget_ep0.c, line 911
- drivers/usb/musb/musb_gadget.c, line 1494
- drivers/usb/musb/musb_gadget_ep0.c, line 1053
- drivers/usb/renesas_usbhs/mod_gadget.c, line 782
- drivers/usb/usbip/vudc_dev.c, line 414
Smatch caller information:
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_continue() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 1 | ep | 0 |
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_off() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_on() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ep | 0 |
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/i915/i915_overlay.c i915_overlay_release_old_vid() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->old_vma | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_mass_storage.c do_set_interface() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->buffhds | 4096-ptr_max |
| PARAM_VALUE | 0 | common->bulk_out_maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->curlun->filp->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | common->filesem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | common->filesem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | common->fsg | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->fsg->bulk_in_enabled | 1 |
| PARAM_VALUE | 0 | common->fsg->bulk_out | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->fsg->bulk_out_enabled | 1 |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 1-s32max |
| PARAM_VALUE | 0 | common->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | common->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | common->luns | 4096-ptr_max |
| PARAM_VALUE | 0 | common->next_buffhd_to_drain | 4096-ptr_max |
| PARAM_VALUE | 0 | common->next_buffhd_to_fill | 4096-ptr_max |
| PARAM_VALUE | 0 | common->running | 0 |
| PARAM_VALUE | 0 | common->state | 0 |
| PARAM_VALUE | 1 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 2 | preq | 4096-ptr_max |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 1 | ep->driver_data | 128 |
| CAPPED_DATA | 0 | common->fsg_num_buffers | 1 |
| CAPPED_DATA | 1 | ep->address | 1 |
| DATA_SOURCE | 0 | common | $0 |
drivers/usb/gadget/function/f_mass_storage.c do_set_interface() -> alloc_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | common | 4096-ptr_max |
| PARAM_VALUE | 0 | common->buffhds | 4096-ptr_max |
| PARAM_VALUE | 0 | common->bulk_out_maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->curlun->filp->f_mapping->host->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | common->filesem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | common->filesem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | common->fsg | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->fsg->bulk_in->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_in_enabled | 1 |
| PARAM_VALUE | 0 | common->fsg->bulk_out | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->desc | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | common->fsg->bulk_out->maxpacket | 0-2047 |
| PARAM_VALUE | 0 | common->fsg->bulk_out_enabled | 1 |
| PARAM_VALUE | 0 | common->fsg_num_buffers | 1-s32max |
| PARAM_VALUE | 0 | common->gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | common->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | common->luns | 4096-ptr_max |
| PARAM_VALUE | 0 | common->next_buffhd_to_drain | 4096-ptr_max |
| PARAM_VALUE | 0 | common->next_buffhd_to_fill | 4096-ptr_max |
| PARAM_VALUE | 0 | common->running | 0 |
| PARAM_VALUE | 0 | common->state | 0 |
| PARAM_VALUE | 1 | ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->comp_desc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ep->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | ep->maxpacket | 0-2047 |
| PARAM_VALUE | 2 | preq | 4096-ptr_max |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 0 | common | 128 |
| BUF_SIZE | 1 | ep->driver_data | 128 |
| CAPPED_DATA | 0 | common->fsg_num_buffers | 1 |
| CAPPED_DATA | 1 | ep->address | 1 |
| DATA_SOURCE | 0 | common | $0 |