Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/tty/hvc/hvc_console.c, line 1008
- drivers/tty/hvc/hvcs.c, line 818
- drivers/tty/n_gsm.c, line 2738
- drivers/tty/pty.c, line 77
- drivers/tty/tty_io.c
- drivers/tty/tty_port.c, line 413
- drivers/tty/vcc.c, line 694
Smatch caller information:
drivers/tty/tty_io.c tty_ioctl() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| CAPPED_DATA | 0 | tty | 1 |
| DATA_SOURCE | 0 | tty | r file_tty |
| CAPABLE | 0 | 21 | |
| NOCHECK_CALL |
drivers/tty/tty_io.c tty_vhangup_self() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 1-u64max |
| DATA_SOURCE | 0 | tty | r get_current_tty |
| NOCHECK_CALL |
drivers/tty/tty_port.c __tty_port_tty_hangup() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 0-ptr_max |
| DATA_SOURCE | 0 | tty | r class_tty_port_tty_lock_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &rfcomm_ioctl_mutex |
drivers/tty/n_gsm.c gsm_dlci_release() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| DATA_SOURCE | 0 | tty | r tty_port_tty_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gsm->mutex | ||
| HALF_LOCKED2 | &tty->ldisc_sem | ||
| TYPE_LOCK | (struct gsm_mux)->mutex |
drivers/tty/hvc/hvc_console.c hvc_remove() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| BUF_SIZE | 0 | tty | (-1),1-s32max |
| DATA_SOURCE | 0 | tty | r tty_port_tty_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/tty/pty.c pty_close() -> tty_vhangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tty | 4096-ptr_max |
| PARAM_VALUE | 0 | tty->read_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tty->write_wait.lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tty->legacy_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &spk_mutex | ||
| HALF_LOCKED2 | 0 | &tty->driver_data->d_lockref.lock |