chiark / gitweb /
machined: refer to the disk space allocated for an image to "usage" rather than ...
[elogind.git] / src / shared / btrfs-util.h
index 1532c120df127e803b07157dbb293f4c4eefd33a..28946c60c9ceaa84ad00c0b93352a64c69172f23 100644 (file)
@@ -55,5 +55,9 @@ int btrfs_subvol_get_info_fd(int fd, BtrfsSubvolInfo *info);
 int btrfs_subvol_get_quota_fd(int fd, BtrfsQuotaInfo *quota);
 
 int btrfs_reflink(int infd, int outfd);
+int btrfs_clone_range(int infd, uint64_t in_offset, int ofd, uint64_t out_offset, uint64_t sz);
 
 int btrfs_get_block_device(const char *path, dev_t *dev);
+
+int btrfs_defrag_fd(int fd);
+int btrfs_defrag(const char *p);