Searched refs:qgroupid (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/fs/btrfs/ |
D | qgroup.h | 193 u64 qgroupid; member 247 static inline u64 btrfs_qgroup_subvolid(u64 qgroupid) in btrfs_qgroup_subvolid() argument 249 return (qgroupid & ((1ULL << BTRFS_QGROUP_LEVEL_SHIFT) - 1)); in btrfs_qgroup_subvolid() 271 int btrfs_create_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid); 272 int btrfs_remove_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid); 273 int btrfs_limit_qgroup(struct btrfs_trans_handle *trans, u64 qgroupid, 368 int btrfs_verify_qgroup_counts(struct btrfs_fs_info *fs_info, u64 qgroupid,
|
D | qgroup.c | 83 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release() 166 u64 qgroupid) in find_qgroup_rb() argument 173 if (qgroup->qgroupid < qgroupid) in find_qgroup_rb() 175 else if (qgroup->qgroupid > qgroupid) in find_qgroup_rb() 185 u64 qgroupid) in add_qgroup_rb() argument 195 if (qgroup->qgroupid < qgroupid) in add_qgroup_rb() 197 else if (qgroup->qgroupid > qgroupid) in add_qgroup_rb() 207 qgroup->qgroupid = qgroupid; in add_qgroup_rb() 243 static int del_qgroup_rb(struct btrfs_fs_info *fs_info, u64 qgroupid) in del_qgroup_rb() argument 245 struct btrfs_qgroup *qgroup = find_qgroup_rb(fs_info, qgroupid); in del_qgroup_rb() [all …]
|
D | transaction.h | 188 u64 qgroupid) in btrfs_set_skip_qgroup() argument 194 delayed_refs->qgroup_to_skip = qgroupid; in btrfs_set_skip_qgroup()
|
D | ioctl.c | 3808 if (!sa->qgroupid) { in btrfs_ioctl_qgroup_create() 3813 if (sa->create && is_fstree(sa->qgroupid)) { in btrfs_ioctl_qgroup_create() 3825 ret = btrfs_create_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create() 3827 ret = btrfs_remove_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create() 3849 u64 qgroupid; in btrfs_ioctl_qgroup_limit() local 3870 qgroupid = sa->qgroupid; in btrfs_ioctl_qgroup_limit() 3871 if (!qgroupid) { in btrfs_ioctl_qgroup_limit() 3873 qgroupid = root->root_key.objectid; in btrfs_ioctl_qgroup_limit() 3876 ret = btrfs_limit_qgroup(trans, qgroupid, &sa->lim); in btrfs_ioctl_qgroup_limit()
|
D | sysfs.c | 2254 "%hu_%llu", btrfs_qgroup_level(qgroup->qgroupid), in btrfs_sysfs_add_one_qgroup() 2255 btrfs_qgroup_subvolid(qgroup->qgroupid)); in btrfs_sysfs_add_one_qgroup()
|
/linux-6.6.21/include/uapi/linux/ |
D | btrfs_tree.h | 1185 static inline __u16 btrfs_qgroup_level(__u64 qgroupid) in btrfs_qgroup_level() argument 1187 return (__u16)(qgroupid >> BTRFS_QGROUP_LEVEL_SHIFT); in btrfs_qgroup_level()
|
D | btrfs.h | 106 __u64 qgroupid; member 778 __u64 qgroupid; member
|
/linux-6.6.21/include/trace/events/ |
D | btrfs.h | 1846 __entry->qgid = qgroup->qgroupid; 1873 __entry->qgid = qgroup->qgroupid;
|