Searched refs:old_fds (Results 1 – 2 of 2) sorted by relevance
99 struct file **old_fds; in expand_fd_array() local102 old_fds = xchg(&files->fd, new_fds); in expand_fd_array()108 memcpy(new_fds, old_fds, i * sizeof(struct file *)); in expand_fd_array()114 free_fd_array(old_fds, i); in expand_fd_array()
439 struct file **old_fds, **new_fds; in copy_files() local508 old_fds = oldf->fd; in copy_files()515 struct file *f = *old_fds++; in copy_files()