Home
last modified time | relevance | path

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

/fs/btrfs/
Dqgroup.h189 u64 qgroupid; member
234 static inline u64 btrfs_qgroup_subvolid(u64 qgroupid) in btrfs_qgroup_subvolid() argument
236 return (qgroupid & ((1ULL << BTRFS_QGROUP_LEVEL_SHIFT) - 1)); in btrfs_qgroup_subvolid()
256 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid);
257 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid);
258 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid,
353 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid,
Dqgroup.c90 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release()
173 u64 qgroupid) in find_qgroup_rb() argument
180 if (qgroup->qgroupid < qgroupid) in find_qgroup_rb()
182 else if (qgroup->qgroupid > qgroupid) in find_qgroup_rb()
192 u64 qgroupid) in add_qgroup_rb() argument
202 if (qgroup->qgroupid < qgroupid) in add_qgroup_rb()
204 else if (qgroup->qgroupid > qgroupid) in add_qgroup_rb()
214 qgroup->qgroupid = qgroupid; in add_qgroup_rb()
249 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() argument
251 struct btrfs_qgroup *qgroup = find_qgroup_rb(fs_info, qgroupid); in del_qgroup_rb()
[all …]
Dtransaction.h186 u64 qgroupid) in btrfs_set_skip_qgroup() argument
192 delayed_refs->qgroup_to_skip = qgroupid; in btrfs_set_skip_qgroup()
Dioctl.c4336 if (!sa->qgroupid) { in btrfs_ioctl_qgroup_create()
4341 if (sa->create && is_fstree(sa->qgroupid)) { in btrfs_ioctl_qgroup_create()
4353 ret = btrfs_create_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create()
4355 ret = btrfs_remove_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create()
4377 u64 qgroupid; in btrfs_ioctl_qgroup_limit() local
4398 qgroupid = sa->qgroupid; in btrfs_ioctl_qgroup_limit()
4399 if (!qgroupid) { in btrfs_ioctl_qgroup_limit()
4401 qgroupid = root->root_key.objectid; in btrfs_ioctl_qgroup_limit()
4404 ret = btrfs_limit_qgroup(trans, qgroupid, &sa->lim); in btrfs_ioctl_qgroup_limit()
Dsysfs.c1919 "%hu_%llu", btrfs_qgroup_level(qgroup->qgroupid), in btrfs_sysfs_add_one_qgroup()
1920 btrfs_qgroup_subvolid(qgroup->qgroupid)); in btrfs_sysfs_add_one_qgroup()