Home
last modified time | relevance | path

Searched refs:orig_fd (Results 1 – 2 of 2) sorted by relevance

/busybox-1.35.0/shell/
Dhush.c7799 int orig_fd; member
7808 sq[i].orig_fd = orig; in append_squirrel()
7810 sq[i+1].orig_fd = -1; /* end marker */ in append_squirrel()
7820 if (sq) for (; sq[i].orig_fd >= 0; i++) { in add_squirrel()
7829 if (fd == sq[i].orig_fd) { in add_squirrel()
7849 if (sq) for (; sq[i].orig_fd >= 0; i++) { in add_squirrel_closed()
7851 if (fd == sq[i].orig_fd) { in add_squirrel_closed()
7944 for (i = 0; sq[i].orig_fd >= 0; i++) { in restore_redirects()
7947 debug_printf_redir("restoring redirected fd from %d to %d\n", sq[i].moved_to, sq[i].orig_fd); in restore_redirects()
7948 xmove_fd(sq[i].moved_to, sq[i].orig_fd); in restore_redirects()
[all …]
Dash.c5671 int orig_fd; member
5689 for (i = 0; sq->two_fd[i].orig_fd != EMPTY; i++) { in add_squirrel_closed()
5691 if (fd == sq->two_fd[i].orig_fd) { in add_squirrel_closed()
5703 sq->two_fd[i].orig_fd = fd; in add_squirrel_closed()
5753 for (i = 0; sq->two_fd[i].orig_fd != EMPTY; i++) { in save_fd_on_redirect()
5763 if (fd == sq->two_fd[i].orig_fd) { in save_fd_on_redirect()
5779 sq->two_fd[i].orig_fd = fd; in save_fd_on_redirect()
5806 if (sq) for (i = 0; i < sq->pair_count && sq->two_fd[i].orig_fd != EMPTY; i++) { in internally_opened_fd()
5936 sv->two_fd[0].orig_fd = fd; in pushfd()
5965 sv->two_fd[i].orig_fd = sv->two_fd[i].moved_to = EMPTY; in pushredir()
[all …]