Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.c688 lzc_send_wrapper(int (*func)(int, void *), int orig_fd, void *data) in lzc_send_wrapper() argument
692 if (orig_fd != -1 && fstat(orig_fd, &sb) == -1) in lzc_send_wrapper()
694 if (orig_fd == -1 || S_ISFIFO(sb.st_mode)) { in lzc_send_wrapper()
695 if (orig_fd != -1) in lzc_send_wrapper()
696 (void) max_pipe_buffer(orig_fd); in lzc_send_wrapper()
697 return (func(orig_fd, data)); in lzc_send_wrapper()
699 if ((fcntl(orig_fd, F_GETFL) & O_ACCMODE) == O_RDONLY) in lzc_send_wrapper()
708 struct send_worker_ctx ctx = {.from = rw[0], .to = orig_fd}; in lzc_send_wrapper()
726 return (func(orig_fd, data)); in lzc_send_wrapper()
H A Dlibzfs_core.abi2908 <parameter type-id='95e97e5e' name='orig_fd'/>
/freebsd/sys/net/route/
H A Dfib_algo.c1249 struct fib_data *orig_fd, struct fib_data **pfd, bool attach) in setup_fd_instance() argument
1257 prev_fd = orig_fd; in setup_fd_instance()
1269 if ((prev_fd != NULL) && (prev_fd != orig_fd)) { in setup_fd_instance()
1289 orig_fd ? orig_fd->fd_failed_rebuilds + 1 : 0); in setup_fd_instance()
1292 if (orig_fd != NULL) in setup_fd_instance()
1293 orig_fd->fd_failed_rebuilds++; in setup_fd_instance()
1300 if ((prev_fd != NULL) && (prev_fd != orig_fd)) in setup_fd_instance()