Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/tty/tty_port.c __tty_port_tty_hangup() -> tty_hangup()

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 &dlc->lock

drivers/tty/serial/serial_core.c uart_handle_dcd_change() -> tty_hangup()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->ldisc_sem.dep_map->name 0-255
CAPPED_DATA 0 tty 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &atmel_port->lock_suspended
HALF_LOCKED2 &port->lock
HALF_LOCKED2 &s->port.lock
HALF_LOCKED2 &sport->port.lock
HALF_LOCKED2 &u->lock
HALF_LOCKED2 &uport->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
HALF_LOCKED2 lock_flags
HALF_LOCKED2 0 &tty->ldisc_sem

drivers/tty/n_gsm.c gsm_process_modem() -> tty_hangup()

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 $0
BIT_INFO 0 tty->termios.c_cflag 0x0,0xfffff7ff
NOCHECK_CALL
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/tty/hvc/hvc_console.c __hvc_poll() -> tty_hangup()

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 &hvc_structs_mutex

drivers/usb/serial/cypress_m8.c cypress_read_int_callback() -> tty_hangup()

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
BIT_INFO 0 tty->termios.c_cflag 0x0,0xfffff7ff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/usb/serial/generic.c usb_serial_handle_dcd_change() -> tty_hangup()

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
CAPPED_DATA 0 tty 1
DATA_SOURCE 0 tty $1
BIT_INFO 0 tty->termios.c_cflag 0x0,0xfffff7ff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 0 &tty->ldisc_sem

drivers/net/slip/slip.c sl_keepalive() -> tty_hangup()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sl->lock
TYPE_LOCK (struct slip)->lock

drivers/net/slip/slip.c slip_exit() -> tty_hangup()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 &sl->lock
LOCK2 bh
TYPE_LOCK (struct slip)->lock

drivers/usb/gadget/function/u_serial.c gserial_disconnect() -> tty_hangup()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &port->port_lock
LOCK2 flags
LOCK2 global &serial_port_lock
TYPE_LOCK (struct gs_port)->port_lock

sound/soc/codecs/cx20442.c cx20442_component_remove() -> tty_hangup()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &card->mutex