Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/tty/tty_port.c tty_port_block_til_ready() -> tty_port_set_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_set_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_set_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| BUF_SIZE | 0 | port | (-1),984 |
| BUF_SIZE | 0 | port | (-1),984 |
| DATA_SOURCE | 0 | port | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| 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_end() -> tty_port_set_active()
| 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 | &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_hangup() -> tty_port_set_active()
| 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 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | &tty->driver_data->d_lockref.lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/serial/serial_core.c uart_hangup() -> tty_port_set_active()
| 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 | &tty->legacy_mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &tty->driver_data->d_lockref.lock | ||
| HALF_LOCKED2 | &tty->driver_data->uart_port->lock | ||
| TYPE_LOCK | (struct tty_struct)->legacy_mutex |
drivers/tty/serial/serial_core.c uart_port_activate() -> tty_port_set_active()
| 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 |