Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/u_serial.c gs_flush_chars() -> gs_start_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb | 1-u64max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| LOCK2 | _T->lock | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->port_lock | |
| HALF_LOCKED2 | &tty->atomic_write_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gs_start_io() -> gs_start_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->n_read | 0 |
| PARAM_VALUE | 0 | port->port_usb | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_pool.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->read_pool.next->prev | 4096-ptr_max |
| BUF_SIZE | 0 | port->port.tty | s32min,(-1),1-s32max |
| CAPPED_DATA | 0 | &port->write_pool | 1 |
| DATA_SOURCE | 0 | port | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &port->port_lock | |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gs_write() -> gs_start_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_usb | 1-u64max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | 0 | &port->port_lock | |
| HALF_LOCKED2 | &ap->xmit_lock | ||
| HALF_LOCKED2 | &component->io_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &elm->lock | ||
| HALF_LOCKED2 | &gsm->tx_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sl->lock | ||
| HALF_LOCKED2 | &tty->atomic_write_lock | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| HALF_LOCKED2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct gs_port)->port_lock |
drivers/usb/gadget/function/u_serial.c gs_write_complete() -> gs_start_tx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->port_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port->write_pool.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->write_pool.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | port->write_pool.next->prev | 4096-ptr_max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | port | s32min-(-2),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | port | unit_byte |
| LOCK2 | 0 | &port->port_lock | |
| HALF_LOCKED2 | &cdev->lock | ||
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | cdev_flags | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct gs_port)->port_lock |