Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/usb/gadget/function/f_acm.c acm_bind() -> gs_alloc_req()
| 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 | len | 10 |
| PARAM_VALUE | 2 | kmalloc_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 | |
| UNITS | 1 | len | unit_byte |
drivers/usb/gadget/function/u_serial.c gs_alloc_requests() -> gs_alloc_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 2 | kmalloc_flags | 2080 |
| DATA_SOURCE | 0 | ep | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &port->port_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gs_console_connect() -> gs_alloc_req()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ep | 4096-ptr_max |
| PARAM_VALUE | 2 | kmalloc_flags | 2080 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &port->port_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gs_port)->port_lock |