Home
last modified time | relevance | path

Searched refs:qgroupid (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/shared/
Dbtrfs-util.c525 int btrfs_qgroup_get_quota_fd(int fd, uint64_t qgroupid, BtrfsQuotaInfo *ret) { in btrfs_qgroup_get_quota_fd() argument
550 if (qgroupid == 0) { in btrfs_qgroup_get_quota_fd()
551 r = btrfs_subvol_get_id_fd(fd, &qgroupid); in btrfs_qgroup_get_quota_fd()
562 args.key.min_offset = args.key.max_offset = qgroupid; in btrfs_qgroup_get_quota_fd()
586 if (sh->offset != qgroupid) in btrfs_qgroup_get_quota_fd()
639 int btrfs_qgroup_get_quota(const char *path, uint64_t qgroupid, BtrfsQuotaInfo *ret) { in btrfs_qgroup_get_quota() argument
646 return btrfs_qgroup_get_quota_fd(fd, qgroupid, ret); in btrfs_qgroup_get_quota()
712 uint64_t qgroupid; in btrfs_subvol_get_subtree_quota_fd() local
725 r = btrfs_subvol_find_subtree_qgroup(fd, subvol_id, &qgroupid); in btrfs_subvol_get_subtree_quota_fd()
729 return btrfs_qgroup_get_quota_fd(fd, qgroupid, ret); in btrfs_subvol_get_subtree_quota_fd()
[all …]
Dbtrfs-util.h104 int btrfs_qgroupid_split(uint64_t qgroupid, uint64_t *level, uint64_t *id);
106 int btrfs_qgroup_create(int fd, uint64_t qgroupid);
107 int btrfs_qgroup_destroy(int fd, uint64_t qgroupid);
108 int btrfs_qgroup_destroy_recursive(int fd, uint64_t qgroupid);
110 int btrfs_qgroup_set_limit_fd(int fd, uint64_t qgroupid, uint64_t referenced_max);
111 int btrfs_qgroup_set_limit(const char *path, uint64_t qgroupid, uint64_t referenced_max);
118 int btrfs_qgroup_find_parents(int fd, uint64_t qgroupid, uint64_t **ret);
120 int btrfs_qgroup_get_quota_fd(int fd, uint64_t qgroupid, BtrfsQuotaInfo *quota);
121 int btrfs_qgroup_get_quota(const char *path, uint64_t qgroupid, BtrfsQuotaInfo *quota);
/systemd-251/src/basic/linux/
Dbtrfs_tree.h954 static inline __u16 btrfs_qgroup_level(__u64 qgroupid) in btrfs_qgroup_level() argument
956 return (__u16)(qgroupid >> BTRFS_QGROUP_LEVEL_SHIFT); in btrfs_qgroup_level()
Dbtrfs.h100 __u64 qgroupid; member
737 __u64 qgroupid; member