Searched refs:tty (Results 1 – 2 of 2) sorted by relevance
482 if (sig->tty) { in do_task_stat()483 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()486 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()
1211 struct tty_struct *tty; in print_warning() local1220 tty = get_current_tty(); in print_warning()1221 if (!tty) in print_warning()1223 tty_write_message(tty, warn->w_sb->s_id); in print_warning()1225 tty_write_message(tty, ": warning, "); in print_warning()1227 tty_write_message(tty, ": write failed, "); in print_warning()1228 tty_write_message(tty, quotatypes[warn->w_dq_id.type]); in print_warning()1249 tty_write_message(tty, msg); in print_warning()1250 tty_kref_put(tty); in print_warning()