Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/tty/tty_io.c tty_do_resize() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PARAM_VALUE 0 tty->ops->resize 0,2815742157479378944,7598537204212207616
BUF_SIZE 0 tty (-1),1-s32max
BUF_SIZE 0 tty (-1),1-s32max
DATA_SOURCE 0 tty $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

fs/proc/array.c do_task_stat() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 &task->signal->exec_update_lock
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct signal_struct)->exec_update_lock

drivers/tty/pty.c pty_resize() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->ops 4096-ptr_max
PARAM_VALUE 0 tty->ops->resize 2815742157479378944,7598537204212207616
DATA_SOURCE 0 tty $0
LOCK2 _T->lock

drivers/tty/pty.c pty_resize() -> tty_get_pgrp()

Type Parameter Key Value
LOCK2 _T->lock

drivers/tty/pty.c pty_signal() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max

drivers/tty/tty_jobctrl.c disassociate_ctty() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 1-u64max
PARAM_VALUE 0 tty->driver 4096-ptr_max
DATA_SOURCE 0 tty r get_current_tty
RX_PATH
TASK_NOT_RUNNING

drivers/tty/tty_jobctrl.c tiocgpgrp() -> tty_get_pgrp()

Type Parameter Key Value
DATA_SOURCE 0 tty $1

drivers/tty/n_tty.c __isig() -> tty_get_pgrp()

Type Parameter Key Value
PARAM_VALUE 0 tty 4096-ptr_max
PARAM_VALUE 0 tty->ops->chars_in_buffer 0,4096-ptr_max
PARAM_VALUE 0 tty->ops->flush_chars 0,4096-ptr_max
PARAM_VALUE 0 tty->ops->stop 0,4096-ptr_max
PARAM_VALUE 0 tty->ops->wait_until_sent 0,2578158375326154752,2614800216018440192,6874988682411192320,7074827580452507648,7916194843820081152
PARAM_VALUE 0 tty->termios.c_iflag 2-u32max
PARAM_VALUE 0 tty->termios_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 tty->termios_rwsem.first_waiter->type 0-1
DATA_SOURCE 0 tty $1
USER_PTR 0 tty->disc_data->priv->rx_skb->data
LOCK2 _T->lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->ldisc_sem
HALF_LOCKED2 0 &tty->port->buf.lock