Home
last modified time | relevance | path

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

/freebsd/contrib/kyua/utils/process/
H A Dchild.cpp99 safe_dup(const int old_fd, const int new_fd) in safe_dup() argument
101 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()
/freebsd/sys/net/route/
H A Dfib_algo.c916 estimate_nhop_scale(const struct fib_data *old_fd, struct fib_data *fd) in estimate_nhop_scale()
920 if (old_fd == NULL) { in estimate_nhop_scale()
926 fd->fd_num_af = old_fd->fd_num_af; in estimate_nhop_scale()
927 memcpy(fd->fd_af, old_fd->fd_af, sizeof(fd->fd_af)); in estimate_nhop_scale()
934 if (!old_fd->fd_af[i].nhaf_hit) in estimate_nhop_scale()
1204 struct fib_data *old_fd, struct fib_data **pfd) in try_setup_fd_instance()
1226 estimate_nhop_scale(old_fd, fd); in try_setup_fd_instance()
1254 void *old_algo_data = (old_fd != NULL) ? old_fd->fd_algo_data : NULL; in try_setup_fd_instance()
914 estimate_nhop_scale(const struct fib_data * old_fd,struct fib_data * fd) estimate_nhop_scale() argument
1202 try_setup_fd_instance(struct fib_lookup_module * flm,struct rib_head * rh,struct fib_data * old_fd,struct fib_data ** pfd) try_setup_fd_instance() argument