Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/usb/gadget/config.c
- drivers/usb/gadget/function/f_midi.c
- drivers/usb/gadget/function/f_midi2.c
Smatch caller information:
drivers/usb/gadget/config.c usb_assign_descriptors() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | 32,40,64,72,88,96,104,176,208 |
| BUF_SIZE | 0 | src | 32,40,64,72,88,96,104,176,208 |
| DATA_SOURCE | 0 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/config.c usb_assign_descriptors() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | 32,40,64,72,88,96,104,176,208 |
| BUF_SIZE | 0 | src | 32,40,64,72,88,96,104,176,208 |
| DATA_SOURCE | 0 | src | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/config.c usb_assign_descriptors() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | 40,48,56,80,112,120,152,168,240 |
| BUF_SIZE | 0 | src | 40,48,56,80,112,120,152,168,240 |
| DATA_SOURCE | 0 | src | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/config.c usb_assign_descriptors() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | 40,48,56,80,112,120,152,168,240 |
| BUF_SIZE | 0 | src | 40,48,56,80,112,120,152,168,240 |
| DATA_SOURCE | 0 | src | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/usb/gadget/function/f_midi.c f_midi_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| BUF_SIZE | 0 | src | 600 |
| BUF_SIZE | 0 | src | 600 |
| DATA_SOURCE | 0 | src | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_midi.c f_midi_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 0 | *src | 0 |
| BUF_SIZE | 0 | src | 600 |
| BUF_SIZE | 0 | src | 600 |
| DATA_SOURCE | 0 | src | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_midi.c f_midi_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 4096-ptr_max |
| PARAM_VALUE | 0 | *src | 0 |
| BUF_SIZE | 0 | src | 600 |
| BUF_SIZE | 0 | src | 600 |
| DATA_SOURCE | 0 | src | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0,4096-ptr_max |
| CAPPED_DATA | 0 | src | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &f_midi2_desc_mutex |
drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *src | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &f_midi2_desc_mutex |
drivers/usb/gadget/function/f_midi2.c f_midi2_bind() -> usb_copy_descriptors()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | src | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *src | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &f_midi2_desc_mutex |