Defined in 2 files as a function:
- drivers/usb/gadget/function/u_serial.c, line 1024 (as a function)
- drivers/usb/gadget/function/u_serial.c, line 1186 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/u_serial.c gs_console_init() -> gs_console_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->console | 4096-ptr_max |
| PARAM_VALUE | 0 | port->console->buf.kfifo.in | 0 |
| PARAM_VALUE | 0 | port->console->buf.kfifo.out | 0 |
| PARAM_VALUE | 0 | port->console->console.device | 7920673304233934848 |
| PARAM_VALUE | 0 | port->console->console.flags | 1 |
| PARAM_VALUE | 0 | port->console->console.index | 0-255 |
| PARAM_VALUE | 0 | port->console->console.write | 1258504378026237952 |
| PARAM_VALUE | 0 | port->port_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->port_usb | 1-u64max |
| BUF_SIZE | 0 | port->console | 472 |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &port->port_lock | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gserial_connect() -> gs_console_connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb->in | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb->ioport | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb->out | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->port_lock | |
| TYPE_LOCK | (struct gs_port)->port_lock |