Documented in 1 files:
Defined in 1 files as a function:
Referenced in 13 files:
- arch/um/drivers/chan_kern.c, line 600
- drivers/mmc/core/sdio_uart.c
- drivers/net/usb/hso.c, line 3092
- drivers/s390/char/con3270.c, line 776
- drivers/tty/moxa.c
- drivers/tty/n_gsm.c, line 2141
- drivers/tty/nozomi.c, line 1428
- drivers/tty/rpmsg_tty.c, line 210
- drivers/usb/class/cdc-acm.c
- drivers/usb/serial/keyspan.c
- drivers/usb/serial/option.c, line 2722
- drivers/usb/serial/sierra.c, line 595
- net/bluetooth/rfcomm/tty.c
Smatch caller information:
drivers/tty/nozomi.c tty_exit() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/usb/serial/keyspan.c usa26_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/keyspan.c usa28_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/keyspan.c usa49_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/keyspan.c usa67_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/serial/keyspan.c usa90_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/tty/n_gsm.c gsm_dlci_close() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/rpmsg_tty.c rpmsg_tty_remove() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/tty/moxa.c moxa_board_deinit() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | check_clocal | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/tty/moxa.c moxa_new_dcdstate() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &moxa_lock |
drivers/usb/serial/option.c option_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
net/bluetooth/rfcomm/tty.c rfcomm_dev_modem_status() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &dlc->lock | ||
| HALF_LOCKED2 | global &rfcomm_dev_lock | ||
| HALF_LOCKED2 | global &rfcomm_ioctl_mutex | ||
| HALF_LOCKED2 | global &rfcomm_mutex | ||
| TYPE_LOCK | (struct rfcomm_dlc)->lock |
net/bluetooth/rfcomm/tty.c rfcomm_dev_state_change() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dlc->lock | ||
| LOCK2 | global &rfcomm_mutex | ||
| TYPE_LOCK | (struct rfcomm_dlc)->lock |
drivers/usb/class/cdc-acm.c acm_process_notification() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/class/cdc-acm.c acm_reset_resume() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/serial/sierra.c sierra_instat_callback() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/hso.c hso_free_interface() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mmc/core/sdio_uart.c sdio_uart_check_modem_status() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/mmc/core/sdio_uart.c sdio_uart_port_remove() -> tty_port_tty_hangup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port | 4096-ptr_max |
| PARAM_VALUE | 0 | port->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | port->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | port->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | check_clocal | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &port->port.mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tty_port)->mutex |