Home
last modified time | relevance | path

Searched refs:tty_pgrp (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_jobctrl.c35 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local
45 tty_pgrp = tty->pgrp; in __tty_check_change()
48 if (tty_pgrp && pgrp != tty_pgrp) { in __tty_check_change()
62 if (!tty_pgrp) in __tty_check_change()
196 struct pid *tty_pgrp = NULL; in tty_signal_session_leader() local
216 tty_pgrp = get_pid(tty->pgrp); in tty_signal_session_leader()
225 if (tty_pgrp) { in tty_signal_session_leader()
227 kill_pgrp(tty_pgrp, SIGHUP, exit_session); in tty_signal_session_leader()
228 put_pid(tty_pgrp); in tty_signal_session_leader()
270 struct pid *tty_pgrp = tty_get_pgrp(tty); disassociate_ctty() local
[all...]
H A Dn_tty.c1110 struct pid *tty_pgrp = tty_get_pgrp(tty); in __isig() local
1111 if (tty_pgrp) { in __isig()
1112 kill_pgrp(tty_pgrp, sig, 1); in __isig()
1113 put_pid(tty_pgrp); in __isig()
/kernel/linux/linux-6.6/drivers/tty/
H A Dtty_jobctrl.c36 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local
46 tty_pgrp = tty->ctrl.pgrp; in __tty_check_change()
49 if (tty_pgrp && pgrp != tty_pgrp) { in __tty_check_change()
63 if (!tty_pgrp) in __tty_check_change()
200 struct pid *tty_pgrp = NULL; in tty_signal_session_leader() local
222 tty_pgrp = get_pid(tty->ctrl.pgrp); in tty_signal_session_leader()
232 if (tty_pgrp) { in tty_signal_session_leader()
234 kill_pgrp(tty_pgrp, SIGHUP, exit_session); in tty_signal_session_leader()
235 put_pid(tty_pgrp); in tty_signal_session_leader()
277 struct pid *tty_pgrp = tty_get_pgrp(tty); disassociate_ctty() local
[all...]
H A Dn_tty.c1074 struct pid *tty_pgrp = tty_get_pgrp(tty); in __isig() local
1075 if (tty_pgrp) { in __isig()
1076 kill_pgrp(tty_pgrp, sig, 1); in __isig()
1077 put_pid(tty_pgrp); in __isig()
/kernel/linux/linux-5.10/fs/proc/
H A Darray.c438 int tty_pgrp = -1, tty_nr = 0; in do_task_stat() local
484 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat()
563 seq_put_decimal_ll(m, " ", tty_pgrp); in do_task_stat()
/kernel/linux/linux-6.6/fs/proc/
H A Darray.c472 int tty_pgrp = -1, tty_nr = 0; in do_task_stat() local
522 tty_pgrp = pid_nr_ns(pgrp, ns); in do_task_stat()
591 seq_put_decimal_ll(m, " ", tty_pgrp); in do_task_stat()

Completed in 10 milliseconds