Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/usb/gadget/function/f_hid.c, line 767
- drivers/usb/gadget/function/f_loopback.c, line 305
- drivers/usb/gadget/function/f_midi.c, line 231
- drivers/usb/gadget/function/f_midi2.c, line 1151
- drivers/usb/gadget/function/f_sourcesink.c, line 293
- drivers/usb/gadget/u_f.c, line 30
- net/9p/trans_usbg.c, line 308
Smatch caller information:
drivers/usb/gadget/function/f_loopback.c lb_alloc_ep_req() -> alloc_ep_req()
| 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 | len | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | ep->address | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | len | $1 |
drivers/usb/gadget/function/f_hid.c hidg_alloc_ep_req() -> alloc_ep_req()
| 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 |
| CAPPED_DATA | 0 | ep->address | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | len | $1 |
drivers/usb/gadget/function/f_midi.c midi_alloc_ep_req() -> alloc_ep_req()
| 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 |
| CAPPED_DATA | 0 | ep->address | 1 |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | len | $1 |
drivers/usb/gadget/function/f_sourcesink.c ss_alloc_ep_req() -> alloc_ep_req()
| 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 | len | 0-s32max,18446744071562067968-u64max |
| DATA_SOURCE | 0 | ep | $0 |
| DATA_SOURCE | 1 | len | $1 |
net/9p/trans_usbg.c alloc_requests() -> alloc_ep_req()
| 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 |
| CAPPED_DATA | 0 | ep->address | 1 |
drivers/usb/gadget/function/f_midi2.c f_midi2_alloc_ep_reqs() -> alloc_ep_req()
| 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 |
| UNITS | 1 | len | unit_byte |