Lines Matching defs:redirect
505 static struct file *redirect;
532 * tty_release_redirect - Release a redirect on a pty if present
536 * redirect it can release the redirect.
543 if (redirect && file_tty(redirect) == tty) {
544 f = redirect;
545 redirect = NULL;
568 * * redirect lock for undoing redirection
1125 if (redirect)
1126 p = get_file(redirect);
2389 * Locking: uses redirect_lock to guard the redirect information
2399 f = redirect;
2400 redirect = NULL;
2413 if (redirect) {
2417 redirect = get_file(file);