Defined in 1 files as a function:
Referenced in 10 files:
- drivers/ipack/devices/ipoctal.c
- drivers/s390/char/con3215.c
- drivers/tty/amiserial.c
- drivers/tty/hvc/hvc_console.c
- drivers/tty/moxa.c, line 1242
- drivers/tty/mxser.c, line 1042
- drivers/tty/n_gsm.c
- drivers/tty/serial/serial_core.c
- drivers/tty/tty_port.c
- drivers/usb/serial/console.c, line 172
Smatch caller information:
drivers/tty/tty_port.c tty_port_open() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_do_autoconfig() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | 984 |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_resume_port() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &uport->lock | ||
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_set_info() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| 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 | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/tty/serial/serial_core.c uart_shutdown() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &uport->lock |
drivers/tty/serial/serial_core.c uart_suspend_port() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/tty/n_gsm.c gsm_dlci_close() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/n_gsm.c gsmtty_open() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | 984 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/hvc/hvc_console.c hvc_close() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/hvc/hvc_console.c hvc_open() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/tty/moxa.c moxa_open() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex |
drivers/ipack/devices/ipoctal.c ipoctal_hangup() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tty->legacy_mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->driver_data->d_lockref.lock | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/ipack/devices/ipoctal.c ipoctal_shutdown() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex |
drivers/usb/serial/console.c usb_console_setup() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/tty/mxser.c mxser_set_serial_info() -> tty_port_set_initialized()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | 984 |
| CAPPED_DATA | 0 | port->close_delay | 1 |
| CAPPED_DATA | 0 | port->closing_wait | 1 |
| CAPABLE | 0 | 21 | |
| NOSPEC | 0 | port->closing_wait | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | port->closing_wait | 0-65534[c] |
| USER_DATA | 0 | port->flags | 0-u32max[c] |
| LOCK2 | _T->lock |