Searched refs:old_fd (Results 1 – 2 of 2) sorted by relevance
99 safe_dup(const int old_fd, const int new_fd) in safe_dup() argument101 if (process::detail::syscall_dup2(old_fd, new_fd) == -1) { in safe_dup()103 throw process::system_error(F("dup2(%s, %s) failed") % old_fd % new_fd, in safe_dup()
887 estimate_nhop_scale(const struct fib_data *old_fd, struct fib_data *fd) in estimate_nhop_scale() argument890 if (old_fd == NULL) { in estimate_nhop_scale()896 if (old_fd->hit_nhops && old_fd->number_nhops < FIB_MAX_NHOPS) in estimate_nhop_scale()897 fd->number_nhops = 2 * old_fd->number_nhops; in estimate_nhop_scale()899 fd->number_nhops = old_fd->number_nhops; in estimate_nhop_scale()1155 struct fib_data *old_fd, struct fib_data **pfd) in try_setup_fd_instance() argument1170 estimate_nhop_scale(old_fd, fd); in try_setup_fd_instance()1205 void *old_algo_data = (old_fd != NULL) ? old_fd->fd_algo_data : NULL; in try_setup_fd_instance()