Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/u_serial.c gs_open() -> (struct gserial)->connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->connect | 1-u64max |
| CONTAINER | 0 | -256+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->port_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gserial_connect() -> (struct gserial)->connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->connect | 1-u64max |
| PARAM_VALUE | 0 | port->in | 4096-ptr_max |
| PARAM_VALUE | 0 | port->in->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport->port_usb | 0 |
| PARAM_VALUE | 0 | port->out | 4096-ptr_max |
| PARAM_VALUE | 0 | port->out->driver_data | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| CONTAINER | 0 | -256+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->port_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gserial_resume() -> (struct gserial)->connect()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->connect | 1-u64max |
| PARAM_VALUE | 0 | port->ioport | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport->port_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->ioport->port_usb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport->read_pool.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport->read_pool.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->ioport->start_delayed | 1 |
| PARAM_VALUE | 0 | port->ioport->suspended | 0 |
| DATA_SOURCE | 0 | port | $0 |
| CONTAINER | 0 | -256+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->port_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &bdc->lock | ||
| HALF_LOCKED2 | &dwc->lock | ||
| HALF_LOCKED2 | &gi->spinlock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | &vhub->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct gs_port)->port_lock |