Searched refs:qgroupid (Results 1 – 8 of 8) sorted by relevance
/linux/fs/btrfs/ |
A D | qgroup.h | 189 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,
|
A D | qgroup.c | 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() 658 key.offset = qgroupid; in add_qgroup_item() 720 key.offset = qgroupid; in del_qgroup_item() 1665 qgroupid); in btrfs_limit_qgroup() [all …]
|
A D | transaction.h | 184 u64 qgroupid) in btrfs_set_skip_qgroup() argument 190 delayed_refs->qgroup_to_skip = qgroupid; in btrfs_set_skip_qgroup()
|
A D | ioctl.c | 4289 if (!sa->qgroupid) { in btrfs_ioctl_qgroup_create() 4301 ret = btrfs_create_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create() 4303 ret = btrfs_remove_qgroup(trans, sa->qgroupid); in btrfs_ioctl_qgroup_create() 4325 u64 qgroupid; in btrfs_ioctl_qgroup_limit() local 4346 qgroupid = sa->qgroupid; in btrfs_ioctl_qgroup_limit() 4347 if (!qgroupid) { in btrfs_ioctl_qgroup_limit() 4349 qgroupid = root->root_key.objectid; in btrfs_ioctl_qgroup_limit() 4352 ret = btrfs_limit_qgroup(trans, qgroupid, &sa->lim); in btrfs_ioctl_qgroup_limit()
|
A D | sysfs.c | 1907 "%hu_%llu", btrfs_qgroup_level(qgroup->qgroupid), in btrfs_sysfs_add_one_qgroup() 1908 btrfs_qgroup_subvolid(qgroup->qgroupid)); in btrfs_sysfs_add_one_qgroup()
|
/linux/include/uapi/linux/ |
A D | btrfs_tree.h | 954 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()
|
A D | btrfs.h | 100 __u64 qgroupid; member 737 __u64 qgroupid; member
|
/linux/include/trace/events/ |
A D | btrfs.h | 1678 __entry->qgid = qgroup->qgroupid; 1705 __entry->qgid = qgroup->qgroupid;
|
Completed in 34 milliseconds