Home
last modified time | relevance | path

Searched refs:subvol_id (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/ !
Dbtrfs-util.c433 int btrfs_subvol_get_info_fd(int fd, uint64_t subvol_id, BtrfsSubvolInfo *ret) { in btrfs_subvol_get_info_fd() argument
456 if (subvol_id == 0) { in btrfs_subvol_get_info_fd()
457 r = btrfs_subvol_get_id_fd(fd, &subvol_id); in btrfs_subvol_get_info_fd()
468 args.key.min_objectid = args.key.max_objectid = subvol_id; in btrfs_subvol_get_info_fd()
488 if (sh->objectid != subvol_id) in btrfs_subvol_get_info_fd()
502 ret->subvol_id = subvol_id; in btrfs_subvol_get_info_fd()
649 int btrfs_subvol_find_subtree_qgroup(int fd, uint64_t subvol_id, uint64_t *ret) { in btrfs_subvol_find_subtree_qgroup() argument
666 if (subvol_id == 0) { in btrfs_subvol_find_subtree_qgroup()
667 r = btrfs_subvol_get_id_fd(fd, &subvol_id); in btrfs_subvol_find_subtree_qgroup()
672 r = btrfs_qgroupid_split(subvol_id, &level, NULL); in btrfs_subvol_find_subtree_qgroup()
[all …]
Dbtrfs-util.h14 uint64_t subvol_id; member
88 int btrfs_subvol_get_parent(int fd, uint64_t subvol_id, uint64_t *ret);
90 int btrfs_subvol_get_info_fd(int fd, uint64_t subvol_id, BtrfsSubvolInfo *info);
92 int btrfs_subvol_find_subtree_qgroup(int fd, uint64_t subvol_id, uint64_t *ret);
94 int btrfs_subvol_get_subtree_quota(const char *path, uint64_t subvol_id, BtrfsQuotaInfo *quota);
95 int btrfs_subvol_get_subtree_quota_fd(int fd, uint64_t subvol_id, BtrfsQuotaInfo *quota);
97 int btrfs_subvol_set_subtree_quota_limit(const char *path, uint64_t subvol_id, uint64_t referenced_…
98 int btrfs_subvol_set_subtree_quota_limit_fd(int fd, uint64_t subvol_id, uint64_t referenced_max);
100 int btrfs_subvol_auto_qgroup_fd(int fd, uint64_t subvol_id, bool new_qgroup);
101 int btrfs_subvol_auto_qgroup(const char *path, uint64_t subvol_id, bool create_intermediary_qgroup);