Searched refs:outfd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/basic/
H A Dbtrfs-util.h64 int btrfs_reflink(int infd, int outfd);
H A Dbtrfs-util.c247 int btrfs_reflink(int infd, int outfd) { argument
252 assert(outfd >= 0);
257 if (fstat(outfd, &st) < 0)
263 r = ioctl(outfd, BTRFS_IOC_CLONE, infd);
270 int btrfs_clone_range(int infd, uint64_t in_offset, int outfd, uint64_t out_offset, uint64_t sz) { argument
281 assert(outfd >= 0);
284 if (fstat(outfd, &st) < 0)
290 r = ioctl(outfd, BTRFS_IOC_CLONE_RANGE, &args);

Completed in 1242 milliseconds