Searched refs:outfd (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/journal/ |
D | cat.c | 125 _cleanup_close_ int outfd = -1, errfd = -1, saved_stderr = -1; in run() local 134 outfd = sd_journal_stream_fd(arg_identifier, arg_priority, arg_level_prefix); in run() 135 if (outfd < 0) in run() 136 return log_error_errno(outfd, "Failed to create stream fd: %m"); in run() 146 …r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on success … in run() 147 TAKE_FD(outfd); in run()
|
/systemd-251/src/shared/ |
D | btrfs-util.c | 223 int btrfs_reflink(int infd, int outfd) { in btrfs_reflink() argument 227 assert(outfd >= 0); in btrfs_reflink() 231 r = fd_verify_regular(outfd); in btrfs_reflink() 235 return RET_NERRNO(ioctl(outfd, BTRFS_IOC_CLONE, infd)); in btrfs_reflink() 238 int btrfs_clone_range(int infd, uint64_t in_offset, int outfd, uint64_t out_offset, uint64_t sz) { in btrfs_clone_range() argument 248 assert(outfd >= 0); in btrfs_clone_range() 251 r = fd_verify_regular(outfd); in btrfs_clone_range() 255 return RET_NERRNO(ioctl(outfd, BTRFS_IOC_CLONE_RANGE, &args)); in btrfs_clone_range()
|
D | btrfs-util.h | 49 int btrfs_reflink(int infd, int outfd);
|