Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/usb/gadget/config.c, line 174
- drivers/usb/gadget/configfs.c, line 1759
- drivers/usb/gadget/legacy/acm_ms.c, line 202
- drivers/usb/gadget/legacy/audio.c, line 335
- drivers/usb/gadget/legacy/cdc2.c, line 181
- drivers/usb/gadget/legacy/ether.c, line 405
- drivers/usb/gadget/legacy/g_ffs.c, line 391
- drivers/usb/gadget/legacy/hid.c, line 173
- drivers/usb/gadget/legacy/mass_storage.c, line 177
- drivers/usb/gadget/legacy/multi.c, line 401
- drivers/usb/gadget/legacy/ncm.c, line 158
- drivers/usb/gadget/legacy/printer.c, line 177
- drivers/usb/gadget/legacy/serial.c, line 211
- drivers/usb/gadget/legacy/zero.c, line 349
Smatch caller information:
drivers/usb/gadget/legacy/printer.c printer_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/zero.c zero_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/audio.c audio_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/configfs.c configfs_composite_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | gadget | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/ether.c eth_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/acm_ms.c acm_ms_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/mass_storage.c msg_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/ncm.c gncm_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/g_ffs.c gfs_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/serial.c gs_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0->ops->alloc_request | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/hid.c hid_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/multi.c multi_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/legacy/cdc2.c cdc_bind() -> usb_otg_descriptor_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gadget | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->ep0 | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->in_epnum | 0 |
| PARAM_VALUE | 0 | gadget->is_otg | 1 |
| PARAM_VALUE | 0 | gadget->is_selfpowered | 1 |
| PARAM_VALUE | 0 | gadget->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | gadget->out_epnum | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |