Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/
Dqgroup.h192 u64 qgroupid; member
237 static inline u64 btrfs_qgroup_subvolid(u64 qgroupid) in btrfs_qgroup_subvolid() argument
239 return (qgroupid & ((1ULL << BTRFS_QGROUP_LEVEL_SHIFT) - 1)); in btrfs_qgroup_subvolid()
259 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid);
260 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid);
261 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid,
356 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid,
Dqgroup.c78 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release()
161 u64 qgroupid) in find_qgroup_rb() argument
168 if (qgroup->qgroupid < qgroupid) in find_qgroup_rb()
170 else if (qgroup->qgroupid > qgroupid) in find_qgroup_rb()
180 u64 qgroupid) in add_qgroup_rb() argument
190 if (qgroup->qgroupid < qgroupid) in add_qgroup_rb()
192 else if (qgroup->qgroupid > qgroupid) in add_qgroup_rb()
202 qgroup->qgroupid = qgroupid; in add_qgroup_rb()
237 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() argument
239 struct btrfs_qgroup *qgroup = find_qgroup_rb(fs_info, qgroupid); in del_qgroup_rb()
[all …]
Dtransaction.h185 u64 qgroupid) in btrfs_set_skip_qgroup() argument
191 delayed_refs->qgroup_to_skip = qgroupid; in btrfs_set_skip_qgroup()
Dioctl.c4664 if (!sa->qgroupid) { in btrfs_ioctl_qgroup_create()
4676 ret = btrfs_create_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create()
4678 ret = btrfs_remove_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create()
4700 u64 qgroupid; in btrfs_ioctl_qgroup_limit() local
4721 qgroupid = sa->qgroupid; in btrfs_ioctl_qgroup_limit()
4722 if (!qgroupid) { in btrfs_ioctl_qgroup_limit()
4724 qgroupid = root->root_key.objectid; in btrfs_ioctl_qgroup_limit()
4727 ret = btrfs_limit_qgroup(trans, qgroupid, &sa->lim); in btrfs_ioctl_qgroup_limit()
Dsysfs.c2194 "%hu_%llu", btrfs_qgroup_level(qgroup->qgroupid), in btrfs_sysfs_add_one_qgroup()
2195 btrfs_qgroup_subvolid(qgroup->qgroupid)); in btrfs_sysfs_add_one_qgroup()
/Linux-v6.1/include/uapi/linux/
Dbtrfs_tree.h946 static inline __u16 btrfs_qgroup_level(__u64 qgroupid) in btrfs_qgroup_level() argument
948 return (__u16)(qgroupid >> BTRFS_QGROUP_LEVEL_SHIFT); in btrfs_qgroup_level()
Dbtrfs.h100 __u64 qgroupid; member
744 __u64 qgroupid; member
/Linux-v6.1/include/trace/events/
Dbtrfs.h1737 __entry->qgid = qgroup->qgroupid;
1764 __entry->qgid = qgroup->qgroupid;