Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/tty/tty_io.c tty_standard_install() -> tty_init_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty | (-1),1816 |
| BUF_SIZE | 0 | tty->port | (-1),984 |
| DATA_SOURCE | 0 | tty | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tty->legacy_mutex | |
| HALF_LOCKED2 | &serial->disc_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/pty.c pty_common_install() -> tty_init_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| DATA_SOURCE | 0 | tty | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &tty->legacy_mutex | |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/pty.c pty_common_install() -> tty_init_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| BUF_SIZE | 0 | tty | 1816 |
| DATA_SOURCE | 0 | tty | r alloc_tty_struct |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | global &tty_mutex | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/usb/serial/console.c usb_console_setup() -> tty_init_termios()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->index | s16min-s16max |
| BUF_SIZE | 0 | tty | 1816 |
| BUF_SIZE | 0 | tty->ops | 296 |
| CAPPED_DATA | 0 | tty->index | 1 |
| DATA_SOURCE | 0 | tty | r _kzalloc_noprof |
| NOSPEC | 0 | tty->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tty->index | 0-s16max[c] |
| 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 |