Searched refs:tty (Results 1 – 2 of 2) sorted by relevance
1182 struct tty_struct *tty; in print_warning() local1191 tty = get_current_tty(); in print_warning()1192 if (!tty) in print_warning()1194 tty_write_message(tty, warn->w_sb->s_id); in print_warning()1196 tty_write_message(tty, ": warning, "); in print_warning()1198 tty_write_message(tty, ": write failed, "); in print_warning()1199 tty_write_message(tty, quotatypes[warn->w_dq_id.type]); in print_warning()1220 tty_write_message(tty, msg); in print_warning()1221 tty_kref_put(tty); in print_warning()
456 if (sig->tty) { in do_task_stat()457 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()460 tty_nr = new_encode_dev(tty_devnum(sig->tty)); in do_task_stat()