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.c733 lzc_send_wrapper(int (*func)(int, void *), int orig_fd, void *data) in lzc_send_wrapper() argument
737 if (orig_fd != -1 && fstat(orig_fd, &sb) == -1) in lzc_send_wrapper()
739 if (orig_fd == -1 || S_ISFIFO(sb.st_mode)) { in lzc_send_wrapper()
740 if (orig_fd != -1) in lzc_send_wrapper()
741 (void) max_pipe_buffer(orig_fd); in lzc_send_wrapper()
742 return (func(orig_fd, data)); in lzc_send_wrapper()
744 if ((fcntl(orig_fd, F_GETFL) & O_ACCMODE) == O_RDONLY) in lzc_send_wrapper()
753 struct send_worker_ctx ctx = {.from = rw[0], .to = orig_fd}; in lzc_send_wrapper()
771 return (func(orig_fd, data)); in lzc_send_wrapper()
H A Dlibzfs_core.abi3923 <parameter type-id='95e97e5e' name='orig_fd'/>
/freebsd/sys/net/route/
H A Dfib_algo.c1248 struct fib_data *orig_fd, struct fib_data **pfd, bool attach) in setup_fd_instance() argument
1256 prev_fd = orig_fd; in setup_fd_instance()
1268 if ((prev_fd != NULL) && (prev_fd != orig_fd)) { in setup_fd_instance()
1288 orig_fd ? orig_fd->fd_failed_rebuilds + 1 : 0); in setup_fd_instance()
1291 if (orig_fd != NULL) in setup_fd_instance()
1292 orig_fd->fd_failed_rebuilds++; in setup_fd_instance()
1299 if ((prev_fd != NULL) && (prev_fd != orig_fd)) in setup_fd_instance()