Defined in 1 files as a function:
Referenced in 21 files:
- drivers/s390/char/con3215.c
- drivers/tty/amiserial.c
- drivers/tty/hvc/hvc_console.c, line 404
- drivers/tty/moxa.c
- drivers/tty/mxser.c, line 1031
- drivers/tty/n_gsm.c, line 4384
- drivers/tty/serial/8250/8250_port.c, line 2653
- drivers/tty/serial/fsl_lpuart.c, line 3076
- drivers/tty/serial/serial_core.c
- drivers/tty/serial/stm32-usart.c, line 2071
- drivers/tty/tty_port.c
- drivers/usb/class/cdc-acm.c
- drivers/usb/serial/ch341.c, line 847
- drivers/usb/serial/console.c, line 129
- drivers/usb/serial/f81232.c, line 970
- drivers/usb/serial/f81534.c
- drivers/usb/serial/generic.c
- drivers/usb/serial/mos7840.c
- drivers/usb/serial/mxuport.c
- drivers/usb/serial/sierra.c, line 1000
- drivers/usb/serial/usb_wwan.c, line 613
Smatch caller information:
drivers/usb/serial/mxuport.c mxuport_process_read_urb_demux_data() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/mxuport.c mxuport_process_read_urb_demux_event() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/mxuport.c mxuport_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/tty_port.c tty_port_block_til_ready() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/tty_port.c tty_port_block_til_ready() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/tty_port.c tty_port_close_start() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->driver_data->d_lockref.lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/tty_port.c tty_port_open() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/tty_port.c tty_port_shutdown() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/serial/serial_core.c uart_poll_init() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &config_mutex |
drivers/tty/serial/serial_core.c uart_set_info() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 0 | port->close_delay | 1 |
| CAPPED_DATA | 0 | port->closing_wait | 1 |
| DATA_SOURCE | 0 | port | $1 |
| CAPABLE | 0 | 21 | |
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_set_ldisc() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tty->legacy_mutex | ||
| LOCK2 | &tty->termios_rwsem | ||
| HALF_LOCKED2 | global &speakup_tty_mutex | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex | ||
| TYPE_LOCK | (struct tty_struct)->termios_rwsem |
drivers/tty/serial/serial_core.c uart_shutdown() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &uport->lock |
drivers/tty/serial/serial_core.c uart_startup() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_suspend_port() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/tty/n_gsm.c gsmtty_close() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/hvc/hvc_console.c hvc_close() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/moxa.c moxa_board_deinit() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/tty/moxa.c moxa_board_deinit() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &moxa_openlock |
drivers/tty/moxa.c moxa_open() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/moxa.c moxa_poll_port() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &moxa_lock |
drivers/usb/serial/mos7840.c mos7840_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/mos7840.c mos7840_suspend() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/usb_wwan.c usb_wwan_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &intfdata->susp_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct usb_wwan_intf_private)->susp_lock |
drivers/tty/serial/stm32-usart.c stm32_usart_serial_en_wakeup() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fsm->lock |
drivers/usb/serial/generic.c usb_serial_generic_msr_changed() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| TASK_NOT_RUNNING |
drivers/usb/serial/generic.c usb_serial_generic_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/generic.c usb_serial_generic_tiocmiwait() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
drivers/usb/serial/f81232.c f81232_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/8250/8250_port.c serial8250_update_uartclk() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| LOCK2 | _T->lock |
drivers/usb/serial/f81534.c f81534_process_read_urb() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/f81534.c f81534_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/console.c usb_console_setup() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &serial->disc_mutex | ||
| LOCK2 | global &console_mutex | ||
| HALF_LOCKED2 | &_T->lock->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->flags | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &console_sem | ||
| HALF_LOCKED2 | global &dynamic_netconsole_mutex | ||
| HALF_LOCKED2 | global &goldfish_tty_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | irq |
drivers/usb/class/cdc-acm.c acm_reset_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/class/cdc-acm.c acm_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &acm->write_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct acm)->write_lock |
drivers/tty/serial/fsl_lpuart.c lpuart_uport_is_active() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/ch341.c ch341_reset_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/serial/sierra.c sierra_resume() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &intfdata->susp_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sierra_intf_private)->susp_lock |
drivers/tty/mxser.c mxser_set_serial_info() -> tty_port_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 0 | port->close_delay | 1 |
| CAPPED_DATA | 0 | port->closing_wait | 1 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | port->closing_wait | 0-65534[c] |
| USER_DATA | 0 | port->flags | 0-u32max[c] |
| LOCK2 | _T->lock |